Inventor Customization

Inventor Customization

Reply
Valued Contributor
66 Posts
3 Kudos
Registered: ‎04-28-2009
Post 1 of 2

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

224 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
8 Posts
0 Kudos
Registered: ‎05-10-2010
Post 2 of 2

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)

 

 

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!