Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

How to save a .CATpart into IGES format using VBScript

Status
Not open for further replies.

Kevintp

Electrical
Feb 20, 2004
8
0
0
US
Hi,

I try to save the .CATPart file into IGES format using the following instructions, but it does not work:

Dim my_part = CATIA.Activedocument.Part
Dim new_file as string
new_file = "cat_2_igs"
my_part.ExportData(new_file, "igs")

The error message was saying that: Cannot use parentheses when calling a sub (ExportData)

could you please show me how to save a .CATPart file into a different format?

Thanks for your help in advance.

Kevin
 
Replies continue below

Recommended for you

Status
Not open for further replies.
Back
Top