Announcements
Due to scheduled maintenance, the Autodesk Community will be inaccessible from 10:00PM PDT on Oct 16th for approximately 1 hour. We appreciate your patience during this time.
Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Create Notebook using ThisApplication.CommandManager.ControlDefinitions

0 REPLIES 0
Reply
Message 1 of 1
e2000773
99 Views, 0 Replies

Create Notebook using ThisApplication.CommandManager.ControlDefinitions

Hello I want to create notebook with iLogic and to do that I have to preselect my main assembly from the browser and then manually run the rule for it to work:
ThisApplication.CommandManager.ControlDefinitions.Item("NotebookCreateNoteCtxCmd").Execute ThisApplication.CommandManager.ControlDefinitions.Item("NotebookFinishNotebookCmd").Execute

Edit. Figured it out myself:

Dim oTopNode As BrowserNode = oPane.TopNode
oTopNode.DoSelect()

 

 

 

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report