Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Part attributes

Status
Not open for further replies.

BenEddy

Marine/Ocean
Mar 3, 2006
17
Hello,

Is there a list somewhere of all the 'canned' smart attributes that are available at the part modeling level?
I would like to add to my template part an attribute that automagically populates the part name; possibly more.
I found these for drafting in the documentation e.g. <W@$SH_... but cannot find them for modeling.

In the attached picture, all I want to end up with is the leaders to say 'BLOCK'. If I 'Save as' to "BLOCK_99", I would like it to change.

Please don't tell me you need grip or other for this simple task, as I do not have those available to me.

Thanks,
Ben

NX 5 Native /Win XP 32
 
Replies continue below

Recommended for you

Ben,

You shouldn't need GRIP.

If you expect only to ever have one part file then I would add the attributes as part attributes rather than to each solid body individually. This works best with respect to the standard way that parts lists are built so that you can use the part attributes displayed as columns in your parts list or BOM.

If you want to have several solids in the same file and assign them object attributes then I know of no template method for doing so. However anyone could easily create a macro or a journal than might allow you to do so more easily.

One thing that may make any such task easier for you is that you can cut and paste attributes. You can in a template part assign them as part attributes or to your datum csys then copy them to the clipboard and paste the values on to any subsequently created solid body.

Best Regards

Hudson

www.jamb.com.au

Nil Desperandum illegitimi non carborundum
 
Thank you Hudson.

In this case, all I want is for my seed part to have an active attribute that grabs the part name automatically.

Ben
 
Ben,

Just checking is it the part name of the part itself or the name of a part that is shown on a drawing. Many people ask that question and misunderstand the difference.

Don't get confused also between inherited part attributes that are used for parts lists and the like and user defined attributes which are far more straightforward.

As I described earlier above the user defined attributes are easily copied and pasted. You can assign user defined attributes at part level or to specific objects or components and paste the values.

If you want to access the inherited attributes of the part then they are part specific, and do not appear in the list of attributes, meaning that you cannot easily copy and past them. Object attributes are to the best of my knowledge only of the user defined type. So in order to assign the value of an inherited part attribute (i.e. the part name) to a user defined string attribute you would need to create a program. You would also need to re-run it should the part name change, because it would create no associative link.

This is one of those answers I'd be happy to stand corrected about since it basically answers NO to your question.

Please feel free to provide a more detailed description of what you hoped to achieve since there may be a lateral solution or work around available.

Best Regards

Hudson

www.jamb.com.au

Nil Desperandum illegitimi non carborundum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top