Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I would like to know if it is possible to change the selection behaviour
in an assembly via the API?
Thanks
Solved! Go to Solution.
I would like to know if it is possible to change the selection behaviour
in an assembly via the API?
Thanks
Solved! Go to Solution.
Hi,
The link did not work but I think you should search in API Help for "SelectionFilterEnum Enumerator"
There you can finnd all the different filters that you need for selection..
/Rikard
Dear Rikard,
thanks for the quick answer. However, for my problem I do not want to set a selection filter when choosing parts via tha API (e.g. via Pick).
I would like to change the "global" selection mode in an inventor assembly to "Parts" via the API. The following pic shows the corresponding menu (sorry, its German) in the inventor GUI. Using EventWatcher, I tried to find if this command fires some event, but no luck.
So, can these menu entries be activated via the API?
Thanks,
Jan
OK..
I haven't done this but I think this is what you are looking for,,
SelectionPriorityEnum Enumerator
to use in
AssemblyDocument.SelectionPriority Property
/Rikard
Thanks!!
As always, once you know it, it seems quite obvious 🙂
Inventor.SelectionPriorityEnum.kPartSelectionPriority
did it.