×
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 VBA that allows you to select which face is used to create drafting view

Catia VBA that allows you to select which face is used to create drafting view

Catia VBA that allows you to select which face is used to create drafting view

(OP)
I need to create several drawings that are exported to dxf files. I currently will orient the 3D part to a desired position, launch drafting and then select the face that I want a view of. I would like to automate this process but a macro would always select the same view.

Is it possible to create a VBA script or macro that would allow me to select which part surface on the 3D part is used to create the view

I am using Catia V5 18

Thanks for any help

RE: Catia VBA that allows you to select which face is used to create drafting view

Hi,

I don't know if it make sense to create a macro for this, depend on how many drawing you have to do.

I think is it possible to set a specific orientation for your part (and if is a standard one like ISO view is even easier), then start drafting workbench with a new drawing (which could be also a template), then start another command in this drawing.

Search this forum for an example how to switch between CATIA windows in different workbenches, the post was something like taking some parameters from 3D and insert them in drawing, I don't remember exactly the subject name but I remember I've post a macro there.



Regards
Fernando

https://picasaweb.google.com/102257836106335725208
https://picasaweb.google.com/103462806772634246699...

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