Import 3D CAD
Import geometry objects from a 3D CAD file using the CAD Import Module, Design Module, or a LiveLink product for CAD software.
Syntax
model.geom(<tag>).feature().create(<ftag>,"Import");
model.geom(<tag>).feature(<ftag>).set(property,<value>);
model.geom(<tag>).feature(<ftag>).getType(property);
model.geom(<tag>).feature(<ftag>).importData();
Description
model.geom(<tag>).feature().create(<ftag>,"Import") creates an import feature. When the property filename is set to a filename recognized as a 3D CAD file, the property type is set to cad. The following properties are available.
on | off
on | off
on | off
on | off
on | off
solid | surface | off
on | off
on | off
source | current
on | off
on | off
all | obj | dom | bnd | edg | pnt | off
Show selections of resulting objects in physics, materials, and so on, or in part instances. obj is not available in a component’s geometry. dom, bnd, and edg are not available in all features.
The file to import is specified by filename, which can have of any of the following formats:
Note 1: This format requires a license for the CAD Import Module, Design Module, or a LiveLink product for a CAD package.
Note 2: This format requires, in addition to the CAD Import Module, Design Module, or a LiveLink product for a CAD package, a license for the File Import for CATIA V5 module.
Note 3: Only supported on Windows.
Note 4: Only supported on Linux, or Windows.
Note 5: Embedded parts in assemblies are not supported. To import such an assembly, first convert the embedded parts to external parts.
The imported geometry objects are represented using the Parasolid geometry kernel, which is the geometry kernel utilized by the CAD Import Module and the LiveLink products for CAD software.
The method
model.geom(gname).feature(<ftag>).importData()
imports the file again, even if the feature is built.
The import can generate object, boundary, edge, and point selections based on material, layer, and color assignments in the 3D CAD file. The following properties are available for working these selections:
on | off
on | off
on | off
on | off
on | off
on | off
on | off
on | off
Compatibility
The following property is no longer supported:
solid | face | off
See Also
Export, ExportFinal