×
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

Recoarding VBA Scripts

Recoarding VBA Scripts

Recoarding VBA Scripts

(OP)
Can anyone help I’m a V5 R16 user with DP2+ and HD2 licences available to me.
I am trying to record a VBA script in the Drafting but all I get is this.

Language="VBSCRIPT"

Sub CATMain()

End Sub

Does anyone know why?

RE: Recoarding VBA Scripts

CATIA doesn't have every API and workbench open when you create a macro. They give you limited access to this information. You can request access to this or buy a CAA license to see the full code. This is one of the problems with the macro recorder. The only work benches that capture information is Part and Assembly Design work benches, but what they capture is very limited.

[quoted from http://www.coe.org/Collaboration/DiscussionForum/ActiveDiscussions/tabid/210/view/topic/forumid/10/postid/110321/Default.aspx ]

RE: Recoarding VBA Scripts

(OP)
If I can’t record a script in the drafting window does any know where I can get a script that will take the geometry in the drafting window and generate a script to create the same thing?

Many thanks

KnowFear

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