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: 

How to Find the Model Associated with a PL on a Drawing?

2 REPLIES 2
Reply
Message 1 of 3
obourne
258 Views, 2 Replies

How to Find the Model Associated with a PL on a Drawing?

Howdy,

I'm trying to figure out how to identify the model associated with a particular PL on a drawing. I'm able to find a PL and write to the header which is cool. But I'm trying to determine the model associated with the BOM pipline so I can get it's P/N iproperty and write that to the PL header.

 

Any ideas on how to find that?

2 REPLIES 2
Message 2 of 3
ekinsb
in reply to: obourne

The ReferencedDocumentDescriptor property will return a DocumentDescriptor object which provides information about the file associated with the parts list, including the filename and a reference to the document itself.


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
Message 3 of 3
obourne
in reply to: obourne

Thanks. I'll give it a try.

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

Post to forums  

Autodesk Design & Make Report