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: 

connect parts list data from one sheet to detail view in another

1 REPLY 1
Reply
Message 1 of 2
SMGordon
384 Views, 1 Reply

connect parts list data from one sheet to detail view in another

Background:  Our company has decided to switch from drafting in AutoCAD to Inventor (which we already use to model) and we have started looking at making our templates intuitive using iProperties, parameters, and functions to reduce manual entry of part information in turn to reduce human error.  None of us have any experience coding besides a bit of LISP.

 

Problem: Perhaps it is a pipe dream, but one thing I would really like resolved is we have no connection between the Parts list information (specifically item number and quantity) on the assembly sheet and the part detail on another sheet.  Our custom part detail title block pulls the material information and "Inventory Part Number" from custom iProperties we have set up at the part level, but we still need to reference the parts list in the other sheet and then manually enter the item number and quantity.  Is there a way to use the "Inventory Part Number" property (which shows up in the parts list on a different sheet) to populate our custom block?

1 REPLY 1
Message 2 of 2
Hui-lung.Chen
in reply to: SMGordon

I did similar things too.

You need to add a new sketch within the wanted drawing view

and add a textbox on the sketch.

Then define the formattedtext when insert the textbox.

What you want to show is defined in the formattedtex.

 

 Dim FormattedText As String = "<Property Document='model' PropertySet='User Defined Properties' Property='BOM_ITEM' FormatID='{D5CDD505-2E9C-101B-9397-08002B2CF9AE}' PropertyID='32'>BOM_ITEM</Property>"
Dim oTextbox As TextBox = oSketch.TextBoxes.AddFitted(oTextItemInsPt, FormattedText)

 

 

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

Post to forums  

Autodesk Design & Make Report