is there a way to give inventor an command alias input form ilogic ?

is there a way to give inventor an command alias input form ilogic ?

Darkforce_the_ilogic_guy
Advisor Advisor
351 Views
2 Replies
Message 1 of 3

is there a way to give inventor an command alias input form ilogic ?

Darkforce_the_ilogic_guy
Advisor
Advisor

is there a way to give inventor an command alias input form ilogic ? 

 

Darkforce_the_ilogic_guy_0-1684057503090.png

 

0 Likes
352 Views
2 Replies
Replies (2)
Message 2 of 3

bradeneuropeArthur
Mentor
Mentor

First you need to create that command, with a description an command name. I know how to do that with an addin but with I logic this is different. An addin runs in background, ilogic not.

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 3 of 3

WCrihfield
Mentor
Mentor

Hi @Darkforce_the_ilogic_guy.  I am not sure I fully understand what you want to do here, but I gave this simple code a try (and various permutations of it) in Inventor 2024, from both an internal iLogic rule, then from an external iLogic rule (ran by right-click on rule, then choosing Run Rule, so that the rule dialog was not showing at the time), and that still did not work.  If I just tap the "S" key on my keyboard, while I have a part document open, and not in any other commands, it acts like clicking on the 2D sketch command button, and asks me to choose a plane to start the sketch on.  So clearly trying to do this from an iLogic rule is not working the same as you may be expecting.

AppActivate(ThisApplication.Caption)
System.Windows.Forms.SendKeys.SendWait("S")
ThisApplication.UserInterfaceManager.DoEvents

 

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes