×
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

Catia Macro

Catia Macro

Catia Macro

(OP)
Dear all,
I am looking for a catia macro to save the file with the name same as part number.
For example if I have a part name in tree structure A567892200 and this part I need to save as with same filename A567892200.Catpart... without manually entering in save as window ..Please help me.. (Scenario is I have created part with design table and want to save all its variants with different name which already entered in design table)..

Thank you in advance.

RE: Catia Macro

You are doing it the hard way. What if you have hundreds of versions (lines in excel) for that part ? You do realize you are going to change manually and cycle through every part, then save as ?

The correct way is to make a catalog from the original part.This part is linked with the excel file.When you resolve the catalog, all files (Catparts) will be created automatically with the specified name from the excel.

Check out the image below.

In my case there is a concatenation made in excel which defines the part name.

Best regards,
Costin Ruja

RE: Catia Macro

Thanks, ferdo.

Anyway, this approach varies from case to case.

Not having the piping module, I devised a methodology which works nice with pipes.



I made a pipe part template which is linked to an excel design table. When I need a new pipe, I just click new from, I rename it and then i can select which DN I need. I just make the pipes, route them, and at a later stage if I need another DN, in 3-4 clicks it gets done. The excel doesn't get renamed or saved. In this way I can add new lines to the file whenever I need to.

@Parge, this seems closer to the case which you described

Best regards,
Costin Ruja

RE: Catia Macro

(OP)
Hi Costin Ruja thank you for your answer. I have tried with the catalog but the thing is when it saved from catalog it will no longer having link to the design table, it will have parameters but without link.

Please suggest me if you have any other method or macro

Thank you.

RE: Catia Macro

@ferdo
I.m just using some skeleton helping part with points and vertexes (from sketches).I connect these ones with polylines and in the pipe part i just use these polylines as external references. I know it's not the best appproach but for simple models it works fine.

@Parge
I know, the generated parts do not link to the excel. Personally, for STANDARD parts (that no other user can or should modify), i would prefer not being able to interact with the geometry at all. These kind of parts must be modified or regenerated only by the CAD administrator of the company.

I don't know any other method to accomplish what you asked.

Best regards,
Costin Ruja

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