프로젝트

일반

사용자정보

개정판 e0828ff4

IDe0828ff45d41fa3168a3456db921e4162f355d80
상위 7279182a
하위 f4571b5d

gaqhf 이(가) 약 5년 전에 추가함

dev issue #000 : fix end break leaderline

Change-Id: I5054089a71616d2b0251ba2cd1fe31a76b66e8bd

차이점 보기:

DTI_PID/SPPIDConverter/AutoModeling.cs
2956 2956

  
2957 2957
            if (targetLMConnector != null)
2958 2958
            {
2959
                // LEADER Line 검사
2960
                bool leaderLine = false;
2961
                SymbolMapping symbolMapping = document.SymbolMappings.Find(x => x.UID == endBreak.DBUID);
2962
                if (symbolMapping != null)
2963
                    leaderLine = symbolMapping.LEADERLINE;
2964

  
2959 2965
                double[] point = GetSegmentPoint(ownerObj, connectedItem, targetLMConnector);
2960 2966
                Array array = null;
2961 2967
                if (point != null)
2962 2968
                    array = new double[] { 0, point[0], point[1] };
2963 2969
                else
2964 2970
                    array = new double[] { 0, endBreak.SPPID.ORIGINAL_X, endBreak.SPPID.ORIGINAL_Y };
2965
                LMLabelPersist _LmLabelPersist = _placement.PIDPlaceLabel(endBreak.SPPID.MAPPINGNAME, ref array, LabeledItem: targetLMConnector.AsLMRepresentation(), IsLeaderVisible: true);
2971
                LMLabelPersist _LmLabelPersist = _placement.PIDPlaceLabel(endBreak.SPPID.MAPPINGNAME, ref array, LabeledItem: targetLMConnector.AsLMRepresentation(), IsLeaderVisible: leaderLine);
2966 2972
                if (_LmLabelPersist != null)
2967 2973
                {
2968 2974
                    _LmLabelPersist.Commit();

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)