How to get top level Item Number from DrawingCurve?

How to get top level Item Number from DrawingCurve?

bshbsh
Collaborator Collaborator
316 Views
0 Replies
Message 1 of 1

How to get top level Item Number from DrawingCurve?

bshbsh
Collaborator
Collaborator

Hello all,

I'm trying to re-attach ItemNumber balloons on assembly drawings that lost some of the attachment points due to replaced components.

I can get the ItemNo either from the balloon itself, or from its leader Attached ModelGeometry. I can find DrawingCurves around the current leader position. But I need to filter these nearby DrawingCurves to find one that actually belongs to the desired Item (with the right ItemNumber from the BOM.)

And this is where I'm stuck. If the Balloon is attached to a Subassembly component, I get its' top level ItemNo from the Bom, but the DrawingCurve's ModelGeometry references to the bottom level component (ie. a partcomponent in a sub-subassembly), and I have no idea how to check if that component belongs to the top level Item or not.

 

0 Likes
317 Views
0 Replies
Replies (0)