Inventor Customization

Inventor Customization

Reply
Valued Contributor
ninjajedisaiyan
Posts: 66
Registered: ‎04-28-2009
Message 1 of 2 (221 Views)

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

221 Views, 1 Replies
03-09-2012 10:16 AM

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?

Active Member
Hui-lung.Chen
Posts: 8
Registered: ‎05-10-2010
Message 2 of 2 (197 Views)

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

03-11-2012 08:39 PM in reply to: ninjajedisaiyan

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)

 

 

Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.