Switch Design views representation for multiple occurences at once
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi folks,
Is it possible to switch design view representations of multiple occurences (assemblies) in one go ?
You can indeed select multiple sub-assemblies by hand, then right-clikc Representation. A window pops up and asks you to choose which one you want. When clicking OK, it activates the desired view rep, for all the sub-assemblies in one go. I would like to achieve this by code.
As for now, I'm adding the occurences in the select set, and use the command manager to fire the same command as you would do by hand :
Dim mngr As CommandManager = g_inventorApplication.CommandManager
mngr.ControlDefinitions.Item("AssemblyRepresentationsCmd").Execute()
The desired window pops up :
I would like to be able to then control the window. Is it possible ?
Has anyone a better idea ?
Thank you and kind regards,
FINET L.
If this post solved your question, please kindly mark it as "Solution"
If this post helped out in any way to solve your question, please drop a "Like"