| | |
| | | private bool ChangeStep(long current_step_id, long next_step_id) |
| | | { |
| | | RbtnChk截面18.Visible = false; |
| | | RbtnChk标注.Visible = false; |
| | | if (current_step_id == this._stepTreeDockPanel.Step_ID_Hdr_Base_Info) |
| | | { |
| | | if (!SaveParaStep1()) |
| | |
| | | if (next_step_id < current_step_id && next_step_id != 0) |
| | | {//删除加厚体 |
| | | this._occDesign3dCtrl.RemoveThicknessBody( ); |
| | | |
| | | this._occDesign3dCtrl.Invalidate(true); |
| | | } |
| | | } |
| | | |
| | |
| | | this.BuildParasCtrl(current_step_id, next_step_id); |
| | | |
| | | // |
| | | if(next_step_id > 0) |
| | | this._stepTreeDockPanel.SetFocusedNode(next_step_id); |
| | | |
| | | |
| | | if (next_step_id != this._stepTreeDockPanel.Step_ID_Thickness) |
| | | RbtnChk标注.Visible = false; |
| | | |
| | | Rbtn数据导出STP.Visible = false; |
| | | Rbtn数据导出IGS.Visible = false; |
| | |
| | | |
| | | else if (next_step_id == this._stepTreeDockPanel.Step_ID_Thickness) |
| | | { |
| | | RbtnChk标注.Visible = true; |
| | | this.RBtn后退.Enabled = true; |
| | | this.Rbtn前进.Enabled = false; |
| | | |