Grip Snap

Grip Snap

GeorgK
Advisor Advisor
543 Views
1 Reply
Message 1 of 2

Grip Snap

GeorgK
Advisor
Advisor

Hello together,

 

is there any possibility to use the grip snap in VBA or iLogic to move a part along the axis?

 

Grip Snap.png

 

 

Dim oControlDef As ControlDefinition
oControlDef = m_invApp.CommandManager.ControlDefinitions.Item("AppGripSnapCmd")
oControlDef.Execute()

 

Thank you

 

Georg

0 Likes
544 Views
1 Reply
Reply (1)
Message 2 of 2

chandra.shekar.g
Autodesk Support
Autodesk Support

Hi @GeorgK,

 

Unfortunately, Inventor API does not support API for "Grid snap".

 

"Grid snap" command can be called using "Control Definitions" API. But other inputs like selection of axis, type of drag and keying input (Distance).

 

Suggest this wish list at idea station using following link.

 

https://forums.autodesk.com/t5/inventor-ideas/idb-p/v1232/tab/most-recent

 

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



0 Likes