프로젝트

일반

사용자정보

개정판 f7fbb5f3

IDf7fbb5f3cb1d015cfefbf7b2eca41358796877d5
상위 5adeae43
하위 80c7547b

함의성이(가) 2년 이상 전에 추가함

end break position fix added

Change-Id: Ia8f1bd6ee1dba46b097a57a17834d43f21302e2c

차이점 보기:

DTI_PID/SPPIDConverter/AutoModeling.cs
3117 3117
                    array = new double[] { 0, point[0], point[1] };
3118 3118
                else
3119 3119
                    array = new double[] { 0, endBreak.SPPID.ORIGINAL_X, endBreak.SPPID.ORIGINAL_Y };
3120
                LMLabelPersist _LmLabelPersist = _placement.PIDPlaceLabel(endBreak.SPPID.MAPPINGNAME, ref array, LabeledItem: targetLMConnector.AsLMRepresentation(), IsLeaderVisible: leaderLine);
3120

  
3121
                LMLabelPersist _LmLabelPersist;
3122

  
3123
                Property property = endBreak.PROPERTIES.Find(loop => loop.ATTRIBUTE == "Freeze");
3124
                if (property != null && !string.IsNullOrEmpty(property.VALUE) && property.VALUE.Equals("True"))
3125
                {
3126
                    _LmLabelPersist = _placement.PIDPlaceLabel(endBreak.SPPID.MAPPINGNAME, ref array, null, Rotation: endBreak.ANGLE, LabeledItem: targetLMConnector.AsLMRepresentation(), IsLeaderVisible: leaderLine);
3127
                }
3128
                else
3129
                {
3130
                    _LmLabelPersist = _placement.PIDPlaceLabel(endBreak.SPPID.MAPPINGNAME, ref array, null, null, LabeledItem: targetLMConnector.AsLMRepresentation(), IsLeaderVisible: leaderLine);
3131
                }
3132
                
3121 3133
                if (_LmLabelPersist != null)
3122 3134
                {
3123 3135
                    _LmLabelPersist.Commit();
......
3129 3141
                    MoveDependencyObject(endBreak.SPPID.GraphicOID, location);
3130 3142

  
3131 3143
                    // end break arrange
3132
                    MoveSegmentBreak(_LmLabelPersist.RepresentationObject.Id, _LmLabelPersist);
3144
                    if (property == null || string.IsNullOrEmpty(property.VALUE) || !property.VALUE.Equals("True"))
3145
                    {
3146
                        MoveSegmentBreak(_LmLabelPersist.RepresentationObject.Id, _LmLabelPersist);
3147
                    }
3133 3148

  
3134 3149
                    ReleaseCOMObjects(_LmLabelPersist);
3135 3150
                }

내보내기 Unified diff

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