iLogic general information about all available commands or strings

iLogic general information about all available commands or strings

Nejc.Leban
Advocate Advocate
403 Views
3 Replies
Message 1 of 4

iLogic general information about all available commands or strings

Nejc.Leban
Advocate
Advocate

Hi everyone.

 

I've been working with iLogic occasionally and I didn't have much problem finding solutions for more simple things.

Now that I've exhausted my previous knowledge about programming and automatisation, and had seen some more advanced coding, I've found myself lacking in information about what commands are available for certain object/definition types.

 

I've checked the Object Browser in VBA Editor and I took a look here: https://help.autodesk.com/view/INVNTOR/2021/ENU/?guid=110f3019-404c-4fc4-8b5d-7a3143f129da

but I'm having trouble finding what I would need there.

 

I have this line of code that I found somewhere, and I would like to replace what is in the brackets to refresh file from vault instead of checking the file in.

 

ThisApplication.CommandManager.ControlDefinitions.Item("VaultCheckinTop").Execute2(False)

 Where could I find what string would do that for me and more generally where could I find the previous obejcts and/or definitions that would lead to the item in the brackets?

 

I would appreciate any help.

Best regards.

Nejc

Accepted solutions (1)
404 Views
3 Replies
Replies (3)
Message 2 of 4

JhoelForshav
Mentor
Mentor
Accepted solution

Hi @Nejc.Leban 

I wrote this iLogic program some time ago to get the controldefinition names in real time when working with inventor. Maybe it'll be of help to you?

 

https://knowledge.autodesk.com/support/inventor/learn-explore/caas/simplecontent/content/ilogic-tool...

Message 3 of 4

Nejc.Leban
Advocate
Advocate

Thanks for your fast reply.

Unfortunatelly, I just get an empty window.

 

NejcLeban_0-1629204747095.png

0 Likes
Message 4 of 4

Nejc.Leban
Advocate
Advocate

Sorry, I was too fast when replying, I missed the video below the code.

It's a great tool, thanks. 🙂

 

0 Likes