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!

Macro for convert old constraints to Assy Constraints

Status
Not open for further replies.

MickyV007

Mechanical
Jan 14, 2009
622
Hello everybody,
i've recorded a macro that convert the old mating conditions into the new assemblies constraints, closes all the windows (info window, assembly constraints window, etc...) , then in the ant toggle the display constraints to OFF (both of them).
The problem is that i did this in a specific part and now if i playblack the macro in another part, i get an error on that the macro cannot find the specific part.
Is there a specific attribute that i can fill in in the macro so that this is valid for all our parts?
I've attached the macro, in the last two rules you will see 7204-000-1672/1-03 and this should be changed into something so the macro is excecutable independ of the filename.
Is this possible?

Many thanks!

Best regards,

Michaël.

NX7.5.4.4 + TC Unified 8.3

 
Replies continue below

Recommended for you

Nobody has any ideas on this?

Best regards,

Michaël.

NX7.5.4.4 + TC Unified 8.3

 
answering on the question have you tried
to use the comandline utility refile_part to do this?
 
Ah this looks very interesting. I'll have it a go. Thank you uwam2ie.

Best regards,

Michaël.

NX7.5.4.4 + TC Unified 8.3

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor