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: 

ilogic Rule for "update properties"

1 REPLY 1
SOLVED
Reply
Message 1 of 2
MarkusGreifeneder3360
412 Views, 1 Reply

ilogic Rule for "update properties"

Hi,

im looking for an ilogic Rule,

thats starts the exisiting Inventor command "update properties" (in the Vault-Tab) with an ilogic Rule.

 

Ideally with automatic "OK" when window appears.

 

Can someone help

 

Thanks in advance,

Markus

 

 

1 REPLY 1
Message 2 of 2

Hi @MarkusGreifeneder3360,

 

Please try the below iLogic rule to update properties and activate "Ok" button automatically.

 

Dim updateCmd As ControlDefinition
updateCmd = ThisApplication.CommandManager.ControlDefinitions.Item("VaultPropertyWriteBack")
updateCmd.Execute

Dim oKCmd As ControlDefinition
oKCmd = ThisApplication.CommandManager.ControlDefinitions.Item("AppContextual_OKCmd")
oKCmd.Execute

Please feel free to contact if there is any doubt.

 

If solves problem, click on "Accept as solution" / give a "Kudo".

 

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



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

Post to forums  

Autodesk Design & Make Report