Activate Panel Button using ilogic

Activate Panel Button using ilogic

Anonymous
Not applicable
260 Views
0 Replies
Message 1 of 1

Activate Panel Button using ilogic

Anonymous
Not applicable

I am pretty new at ilogic and need a little help.

 

I need to know how to activate the Sheet Metal Default Dialogue box using ilogic.  This is the code i have is as follows:

 

 

 

If SheetMetal.GetActiveStyle() = "Default" Then
MessageBox.Show("You cannot use DEFAULT THICKNESS; Please choose correct Thickness from Sheet Metal Rule.", "Default is Active")
ThisApplication.CommandManager.ControlDefinitions.Item("Sheet_Metal_Defaults")
End If

 

 

This is the line that is not working.  My syntax is probably way off.

 ThisApplication.CommandManager.ControlDefinitions.Item("Sheet_Metal_Defaults")

0 Likes
261 Views
0 Replies
Replies (0)