×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Macro for convert old constraints to Assy Constraints

Macro for convert old constraints to Assy Constraints

Macro for convert old constraints to Assy Constraints

(OP)
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

 

RE: Macro for convert old constraints to Assy Constraints

(OP)
Nobody has any ideas on this?

Best regards,

Michaël.

NX7.5.4.4 + TC Unified 8.3

 

RE: Macro for convert old constraints to Assy Constraints

answering on the question have you tried
to use the comandline utility refile_part to do this?

RE: Macro for convert old constraints to Assy Constraints

(OP)
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

 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources