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!

Arrangement linked to an expression

Status
Not open for further replies.

Legs11

Mechanical
Apr 12, 2008
12
Hi All,
Does anyone know of a way to link an arrangement to an expression in NX7.5? For instance I might have an expression that I want the value to change to either 1 or 0 based on what arrangement is active. Any other suggestions on how to do this would be appreciated.

Regards,
Legs11.
 
Replies continue below

Recommended for you

Bump!

I have also come across this issue. However I would like to use an expression to drive the active arrangement.

Alex
NX7.5.4.4
 
There are lots of ways to link expressions to arrangements. For examply you can make a distance expression arrangement specific very easily. But if you want to suppress a component in an arrangementm then you need to look at useing componenent suppression by expression. Can you be more specific in what you want to do and I will try and create a video.

Best regards

Simon NX7.5.4.4 MP5 - TC 8
 
Simon,

I have a parent assembly of a family of parts. The main variable that differs between the parts is the overall length of the assembly, which subsequently determines the number of components to use and their position. At the moment this is all driven by expressions, and while it works I don't find it particularly neat. In future I would like to use some of the components in other un-relate assemblies where the linked length expressions I am currently using to control the component position (in a master model approach) will no longer be relevant What I would like to do is have a set of assembly arrangements i.e. 'Short' & 'Long' which generate an expression variable that I can use to control the length and/or number of components in the assembly via if/else statements or similar.

I have tried using suppress by expression but I find that this will highlight the assembly mating constraints and show them as being erronous ("Reference objects have been deleted or suppressed"), while technically correct I would prefer it if these assembly constraints were suppressed (much like they are in arrangements).

Cheers,

Alex
 
Alex

Phew! Your predicament is quite difficult to understand based on the few lines pf text, I honestly can't work anything out from that I'm afraid. It certainly sounds like you are looking to something far more advanced than Legs11. Without actuallt seeing something, I don't think I can help sorry :-(

Best regards

Simon NX7.5.4.4 MP5 - TC 8
 
Simon,

In your post above you mentioned that it's easy to make expressions arrangement specific. How would I go about doing that? While my final desired result may not be worth the effort and may be more easily achieved using two seperate assemblies having an expression driven by an arrangement will get me started.

Alex
 
Simon,
I would also like to know how to make expressions arrangement specific. Thanks in advance.

Jackie.
 
You can make contraints that are driven by expressions arrangement specific such as distance or angle simply by right clicking on it and selecting arrangement specific, then when you change to a new arrangment and turn the contraint off, then the expression that is was driving the distance of angle will be inactive and you can then apply another contraint in the active arrangement and then make that arrangement specific too so that you have 2 different expressions which are arrangement specific.

Best regards

Simon NX7.5.4.4 MP5 - TC 8
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor