Retrieve an attribute of an iPart instance that belongs initially to its factory

Retrieve an attribute of an iPart instance that belongs initially to its factory

jwesselsHZJ98
Contributor Contributor
310 Views
1 Reply
Message 1 of 2

Retrieve an attribute of an iPart instance that belongs initially to its factory

jwesselsHZJ98
Contributor
Contributor

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. 

 

http://adndevblog.typepad.com/manufacturing/2013/02/in-an-assembly-retrieve-an-attribute-of-an-ipart...

 

https://forums.autodesk.com/t5/inventor-customization/transferring-attributes-from-iparts/m-p/603078...

 

Has anybody successfully done this using faces?

 

Thanks

0 Likes
311 Views
1 Reply
Reply (1)
Message 2 of 2

jwesselsHZJ98
Contributor
Contributor

Is anybody able to help on this topic?

0 Likes