You can automate Data exchanges with IGES using VBScript macros, either at import or at export | |
Import |
|
|
|
|
|
You can transfer several files within the same VBScript macro, but it is recommended to do only one transfer per VBScript macro. |
|
ExampleVBScript macro for implementing a IGES file Language="VBScript" Sub CATMain() Dim Document0 As Document ' Reading an IGES file Set Document0 = CATIA.Documents.Open( "E:\tmp\Box.igs" ) ' Saving the corresponding CATPart CATIA.ActiveDocument.SaveAs "E:\tmp\Box" CATIA.Quit End Sub |