Message 1 of 1
Activate Panel Button using ilogic

Not applicable
04-28-2016
10:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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")