×
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

Quick replace

Quick replace

Quick replace

(OP)
Hello all!
I've a very big assembly which includes about 2500 components.It has approximatly
15 levels. Due to several instances of some parts and products, total amout of
components is over than 6000. And I need to replace all instances (500) of one
product (subassembly) with part.This subassebly consist of only one part, but
problem is that this old part and new one have different coordinate systems.
It's almost same parts but there are differences in coordinate system orientation.
I can manualy go throw the tree, find this product and replace it with new part,
but then I have to move and rotate it to put it in place. It's not very difficult,
but it will take much time to replace each instance manually. So, how I can do
it in a very short time?? Is it possible to do it with scripts??If so, how I can
search the tree for next instance of product???

RE: Quick replace

If you contextually select the part and use the replace component method you will have tghe option to replace all instances in the dialog box.

Writing a script for this would be a long proccess, roughly around 1000 lines of code something not easily answered here.

It definitely could be done if you possed CATScript skills.

If this is something that you need you should get support from your IT group or a software house.

RE: Quick replace

(OP)
The problem is that I have to move and rotate each instance. Doing this manually will take too much time.

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