프로젝트

일반

사용자정보

개정판 932933ed

ID932933edbd9b3d89a087e75cccc9be05eaa7c4d3
상위 ff4941b2
하위 697d4c61

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

dev issue #1230 : Linenumber modeling

Change-Id: I15a1e7458d6b0f76032dbad0e1d4a48aeba9bf15

차이점 보기:

DTI_PID/APIDConverter/Utils/GUIUtils.cs
30 30
            return null;
31 31
        }
32 32
        
33
        public static void SetAutoLabelUnCehck()
33
        public static void SetAutoLabelCheck(bool check)
34 34
        {
35 35
            Autodesk.Windows.RibbonChecklistButton autoLabelCheckListButton = null;
36 36
            Autodesk.Windows.RibbonItemCollection items = GUI.RibbonHelper.GetPanelItems("ID_PIPE_PANEL");
......
46 46
                    {
47 47
                        Autodesk.Windows.RibbonButton ribbonButton = item as Autodesk.Windows.RibbonButton;
48 48
                        if (ribbonButton.IsChecked)
49
                            ribbonButton.IsChecked = false;
49
                            ribbonButton.IsChecked = check;
50 50
                    }
51 51
                }
52 52
            }
53

  
54
            DrawingUtilities.bPipeLabel = false;
55
            DrawingUtilities.bEquipLabel = false;
56
            DrawingUtilities.bNozzleLabel = false;
57
            DrawingUtilities.bInstrLabel = false;
58
            DrawingUtilities.bValveLabel = false;
59
            DrawingUtilities.bReducerLabel = false;
60
            DrawingUtilities.bLinefittingLabel = false;
53
            
54
            DrawingUtilities.bPipeLabel = check;
55
            DrawingUtilities.bEquipLabel = check;
56
            DrawingUtilities.bNozzleLabel = check;
57
            DrawingUtilities.bInstrLabel = check;
58
            DrawingUtilities.bValveLabel = check;
59
            DrawingUtilities.bReducerLabel = check;
60
            DrawingUtilities.bLinefittingLabel = check;
61 61

  
62 62
            DrawingData drawingData = new DrawingData();
63 63
            drawingData.AutoLabelPipe = DrawingUtilities.bPipeLabel;

내보내기 Unified diff

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