Continue to Site

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!

Pull expression values into a component when adding to an assembly

Status
Not open for further replies.

Werner K

Mechanical
Dec 15, 2023
5
Hello

I think it is not possible, but I'll ask it annyway :)
Is there a possibility to "pull" expression values into a component when adding to an assembly?

For our stamping tools, I have set up a number of standard components, mostly with Product Template Studio (PTS), that can be placed in an assembly (structure). In this assembly information as material thickness, material width etc is given as an expression.

When adding a standard part (for example a die insert) to the assembly, it would be very, very helpfull if this die insert could "pull" the needed information from the assembly!

Now we need to set this information mannually for every die insert via the reusable component window (PTS)

Extra info:
The die insert is automatically cloned when adding to an aasembly
We use NX 2306

Werner
 
Replies continue below

Recommended for you

If you have these as attributes, they should be readily available.
If no other solution is presented by some other,
you can in the piece part create an attribute that reads an expression and then present the expression value as the attribute value.

Regards, Tomas



The more you know about a subject, the more you know how little you know about that subject.
 
Hi Toost

Thank you for the quick reply.

Can you please explain it a bit more?

Let's say I have an assembly with an expression or attribute "Length" L=20 and I have a part with an expression or attribute "Length" L=10
How do I need to set the attributes so that when I add the part to the assembly the length expression from the part will change to L=20?
 
Hello,

You can define a visual rule with an VB script to run after a button click with instructions to create interpart expression

Gelson Z. Nicoletto
V.18-NX2206
 
sorry i think i misunderstood the usage here. My previous post was how to present "component sizes" as information in the top assembly. and after reading your question again ...
It is not really clear what the action should be.
If i understand this correctly ( second reading):
You have an assemby where you have defined that the size of " Inserts" to be ( example) 25x22x145.
then when you add component "Insert_1" , that should adapt to 25x22x145 , without you entering these numbers, and after this be cloned.
Correct ?

Regards,
Tomas

The more you know about a subject, the more you know how little you know about that subject.
 
Hi Tomas

Yes, that is exactly what I want! Sorry about my poor description in my first post.

Werner
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor