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: 

Revise Command using iLogic

1 REPLY 1
SOLVED
Reply
Message 1 of 2
kapilnbhasme
159 Views, 1 Reply

Revise Command using iLogic

I want to revise a model to next revision using iLogic as below
1. Revise

2. Select Top revision

3. ECN#

4. Press "OK"

 

kapilnbhasme_0-1688814008557.png

 

1 REPLY 1
Message 2 of 2
dalton98
in reply to: kapilnbhasme

I dont have vault but the api taskbar commands can be found here: Link 1 

Heres a good video on ilogic for vault: Link 2 

 

Something like this might work. It uses the Chr functions to send keys. 9 = tab, 10 = enter

ThisApplication.CommandManager.ControlDefinitions("VaultReviseTop").Execute

System.Windows.Forms.SendKeys.SendWait(Chr(9) & Chr(9) & Chr(9) & "ECN#" & Chr(9) & Chr(10))

 

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

Post to forums  

Autodesk Design & Make Report