CoventorWare Object

Import a CoventorWare file.

Methods

Reset

Resets the import options to the default.

 

FileName ( filename filename )

Sets the name of the imported file.

 

Id ( int id )

A CAD file may be imported more than once into the same project with different settings of import options. In order to improve the performance of structure rebuilds, an intermediate sat file is stored during the import process which allows to quickly re-read the data during rebuilds in case that the original CAD file has not been modified. The naming convention of the intermediate sat file has to be unique for each individual import step. Therefore, in case that the same file is imported more than once or a file with the same name is imported into the project, the Id setting needs to be increased. The Id will then be incorporated into the file name which ensures unique file names for every import.

 

ImportToActiveCoordinateSystem ( bool switch )

Import the CAD data relative to the active coordinate system.

 

Read

Starts the actual import of the file.

Default Settings

FileName ("")

ImportToActiveCoordinateSystem (False)

Example

With CoventorWare

    .Reset

    .FileName (".\example.sat")

    .ImportToActiveCoordinateSystem (False)

    .Read

End With