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 do I export my Pipe network Parts list to another drawing?

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Anonymous
298 Views, 2 Replies

How do I export my Pipe network Parts list to another drawing?

 

 

I added parts and sizes to my pipe network parts list in my drawing and want to export these to another drawing.

Thanks for any imput you may have.

 

John Wilson

2 REPLIES 2
Message 2 of 3
xiaodong_liang
in reply to: Anonymous

Hi John,

you can use PartsList.CopyTo . e.g.

Sub test()

'select a partslist of the source sheet
Dim oPL As PartsList
Set oPL = ThisApplication.ActiveDocument.SelectSet(1)

Dim oNewDoc As DrawingDocument
Set oNewDoc = ThisApplication.Documents.Add(kDrawingDocumentObject)

'add a target sheet in the new drawing
Dim oTargetSheet As Sheet
Set oTargetSheet = oNewDoc.Sheets.Add(kA4DrawingSheetSize)

oPL.CopyTo oTargetSheet

End Sub
Message 3 of 3
Anonymous
in reply to: xiaodong_liang

Thank you very much

 

John

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

Post to forums  

Autodesk Design & Make Report