Retrieve an attribute of an iPart instance that belongs initially to its factory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am working on a rule to automatically balloon views of an assembly in my drawing file. I am using attributes placed on faces of the parts within the assembly to determine where to place balloons. When I run my code with standard, non-iParts/iAssemblies, it works correctly and places balloons where I intend them to be placed. However, when I create an assembly with iParts in it, it can not find the balloons.
I have found that this is because the attribute is placed in the factory, and when I open then individual iPart instance, the face no longer has an attribute on it. I also can not edit this individual instance to add an attribute.
I have found the following two links that I thought would help me with retrieving an attribute from the parent factory and placing it on each instance. I have not been able to get their code to work for me. I am using Inventor 2018.3.
Has anybody successfully done this using faces?
Thanks