×
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 screen capture

macro for screen capture

macro for screen capture

(OP)
Hi everybody.

I am trying to build an animation showing how the change of a dimensional parameter affects my model.

Since I can't find a better way to do that, I imagined a way by creating a macro that would change that parameter in small steps and record each one to a .jpg or .tiff file, but I don't know how to include the order to save the screen to a file, in the macro.
No need to say that this is my first experience with macros and VB.
Thanks to all answers and suggestions.
Roberto

RE: macro for screen capture

Hi,

You can start record a video file (choosing a convenient codec) and after that launch your macro who will change your parameter.

Try to record first a simple macro, changing what parameter you want in your CATPart, maybe it will work.

Regards
Fernando

RE: macro for screen capture

It didn't work for me. CATIA always gives me wireframe instead of shaded solid.

Forever Young

RE: macro for screen capture

(OP)
Hi all and thanks for you answers.
I figured out a workaround using ferdo's suggestion and it worked!
I made a macro asigning different values to my parameters  with execution-stop (F9) at every update, then started recording my viewport and, step by step run the macro, getting 2-3 frames per step so after some clicks I got my animation.

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