How to save a .CATpart into IGES format using VBScript
How to save a .CATpart into IGES format using VBScript
(OP)
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
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





RE: How to save a .CATpart into IGES format using VBScript
Thanks.