개정판 932933ed
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