Control of View Representations in iAssembly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have an iassembly whose table controls material of the parts and subassemblies: carbon steel / stainless steel. For the carbon steel configuration, the parts are painted various colors. For stainless, the parts receive no paint. I have design view representations set up in the top level assembly to control colors. These views work just fine by manual selection. However, I want to link them to the table so that when a factory member is selected, the corresponding view rep is activated.
After considerable experimentation, I can't seem to figure out how to do this. Apparently Inventor (2013) doesn't give you the option to select the active view rep in the table. So I have been trying to do this using iLogic. I am little more than a novice with iLogic / VB, so I did some searching online to find someone else's code to adapt to my situation. Everything I have tried has given me errors; i.e., the code doesn't run properly as copied.
Does anyone have any clever tricks in mind for managing design view representations in the iassembly table, or can anyone write the bit of code that will let me control the active design view representation?
Thanks in advance,
Dan