Display "Drawing View" dialog box using VBA

Display "Drawing View" dialog box using VBA

isocam
Collaborator Collaborator
729 Views
1 Reply
Message 1 of 2

Display "Drawing View" dialog box using VBA

isocam
Collaborator
Collaborator

Can anybody help?

 

Does anybody know how I can display the "Drawing View" dialog box using an Inventor VBA macro?

 

Please see the attached picture for the "Drawing View" dialog box.

 

Many thanks in advance!!!

 

Darren

0 Likes
730 Views
1 Reply
Reply (1)
Message 2 of 2

dean.morrison
Advocate
Advocate

Hi...

 

You can use the control definition - like so...

 

Dim oDef As ControlDefinition
Set oDef = ThisApplication.CommandManager.ControlDefinitions.Item("DrawingBaseViewCmd")
oDef.Execute

 

Hope that helps.

 

Dean.