Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recoarding VBA Scripts

Status
Not open for further replies.

KnowFear

Automotive
Joined
Aug 9, 2007
Messages
9
Location
DE
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?
 
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 ]
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top