Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am doing a code which needs to select a hole feature of a part in assembly mode. How to do it through API?
I try <ThisApplication.CommandManager.Pick(kAssemblyFeatureFilter, "Pick a feature in Assembly")>, and <ThisApplication.CommandManager.Pick(kAllCircularEntities, "Pick CircularEntities in Assembly")>. They can NOT pick a hole feature of a part in assembly.
I also try <oCtrlDef = ThisApplication.CommandManager.ControlDefinitions.Item("AppFeaturePriorityWrapperCmd")>. It works. But I don't know how to add a tool-tip (such as "please select a hole") with selecting arrow while doing the pick. So how to add a tool-tip for this way?
Thank you very much in advance
Limin
Thanks
Limin
Inventor pro 2023 64 bit update 5.3; Windows 11 pro 64 bit version 24H2; Office 2013 64 bit
Limin
Inventor pro 2023 64 bit update 5.3; Windows 11 pro 64 bit version 24H2; Office 2013 64 bit
Solved! Go to Solution.