Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

manipulate extrude location in different assembly arrangements

Status
Not open for further replies.

surinderbirdi

Automotive
Jun 14, 2016
31
Hi,
I am using NX 10. I am working on an assembly which have different arrangements. In part navigator I made an extrude cut on one body by promoting it. Now I want to have different locations of that extrude cut in different arrangements. Is there any way to do it?
Thanks in advance.
 
Replies continue below

Recommended for you

@SDETERS I had already checked it out, the main context in that thread is about constraints in arrangements.
I think it can be done through VB, but I really don't know a thing about VB. Anyways thanks a lot for suggestion. :)
 
You can still use that code that was posted. Find and Set in your expressions the dimension cut you want to change. Use this as your dimension expression
if Active_arrangement = "Arrangement 2" then 2 else 0.

This has more to do with expressions than it does with assemmbly constraints. You can use it for both.

Then you run the VB script on linked site above. Your cut dimension changes per which arrangement is active. (Of course this is after you run the VB code after you switch arrangements.)
 
Thanks @SDETERS I am able to use "if Active_arrangement = "Arrangement 2" then 2 else 0" as a expression for cut dimension. But how the system will know which arrangement is active? I have used that VB codes also they are working fine as well. And I have Active_arrangement parameter in expression list, but what should be its formula?

 
NX does not know or have a way to know which arrangement is active without running this script. This is the part of the Enhancement request in the previous link above. When you switch arrangements you must run this VB program for NX to see the "arrangement change". This is more of a work around than anything else.

The Active_arrangement parameter is part of the expressions that the VB code gets and fills out to tell NX what which arrangement is active after running the VB code.
 
It would be productive if we got that enhancement. @SDETERS. Thank you for your support.
 
Ok I am not sure if I am asking the same question again. Without calling promote bodies and using Subtract extrude, still we can cut the parts by Assembly CUT option. So Can we move the assembly cut location in different arrangements?? this will really solve my requirement if it is possible, otherwise i will end up creating enormous number of assemblies to show just the same cut but in different locations.

Since multiple users will be using this file, So we dont want to run the VB code option each time as SDETERS has suggested.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor