Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

link textbox to BOM row

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
Ralf_Krieg
450 Views, 3 Replies

link textbox to BOM row

Hello

 

Is it possible to create a asociative text in a sketched symbol that is linked to a BOM row? I want to display the object number of BOM row in a sketched symbol in a drawing. Sorting and renumbering BOM should be recognized and the number should be updated.

The ESKD-AddIn seems to be able to do so in technical requirements, but how is this done?


R. Krieg
RKW Solutions GmbH
www.rkw-solutions.com
3 REPLIES 3
Message 2 of 4

You may consider the following method.

BOMRow object has AttributeSets property.  This allows you

a) assign unique attribute to every BOMRow object in BOMRows collection,

b) find the reference to the BOMRow associated with the named attribute with the specific value
(see help for AttributeManager.FindObjects method).

 

Saving unique pair [attribute name + attribute value] in your sketched symbol makes it possible at any moment to find “parent” BOMRow, extract current item number value from BOMRow object and update symbol if this number was changed.

 

There is the overview on attributes in the Inventor API Help.


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

Message 3 of 4

Hello

 

I'll try this out. Many thanks for this reply. I think that's the solution.


R. Krieg
RKW Solutions GmbH
www.rkw-solutions.com
Message 4 of 4
Ralf_Krieg
in reply to: Ralf_Krieg

Hello

 

Tried it out the you described, work's perfect. Thank you. Smiley Happy

 


R. Krieg
RKW Solutions GmbH
www.rkw-solutions.com

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report