The AcisFile object is a file object used to open ACIS-, STEP-, and IGES-format files.
import part
This method creates an AcisFile object from a file containing ACIS-format geometry. This object is subsequently used by the PartFromGeometryFile method.
mdb.openAcis
Required argument
A String specifying the path to the ACIS file to open.
Optional argument
A Boolean specifying whether to scale, rotate, and translate the part using the transform read from the ACIS file. The default value is OFF.
Return value
An AcisFile object.
Exceptions
File is from a newer version of ACIS than the CAE kernel.
The data in the ACIS file are corrupted.
This method creates an AcisFile object from a file containing CATIA V4-format or V5–format geometry. This object is subsequently used by the PartFromGeometryFile method.
mdb.openCatia
Required argument
A String specifying the path to the CATIA file to open.
Optional arguments
A SymbolicConstant specifying the topology of the data to be read from the file and of the part to be created. Possible values are SOLID , SHELL, and WIRE. If topology=SOLID, Abaqus/CAE attempts to attach cells to create a solid. If topology=SHELL, Abaqus/CAE builds the body as a shell entity and not as a solid entity. If a CATIA V4-format file contains different toplogies, only the selected topology is imported from the file. The default value is SOLID .
A SymbolicConstant specifying whether the original units should be retained. Possible values are ON and OFF. The default value is OFF.
A Boolean specifying whether to combine the bodies in the CATPart file. If the bodies to be combined touch or overlap, invalid entities would result. For V4–format and CATProduct files, this option will be ignored.
Return value
An AcisFile object.
Exceptions
This method creates an AcisFile object from a file containing Elysium Neutral File-format geometry that was created by CATIA V5, I-DEAS, or Pro/ENGINEER. This object is subsequently used by the PartFromGeometryFile method.
mdb.openEnf
Required arguments
A String specifying the path to the Elysium Neutral File that was created by I-DEAS, Pro/ENGINEER, or CATIA V5.
A String specifying the type of CAD system that created the file. Possible values are “ideas”, “proe”, or “catiav5” or a combination similar to “proe/ideas/catiav5” if the type is unknown.
Optional arguments
A SymbolicConstant specifying the topology of the data to be read from the file and of the part to be created. Possible values are SOLID , SHELL, and WIRE. If topology=SOLID, Abaqus/CAE attempts to attach cells to create a solid. If topology=SHELL, Abaqus/CAE builds the body as a shell entity and not as a solid entity. The default value is SOLID.
A Boolean specifying if the dimensions of the part should be converted to millimeters. The default value is OFF.
Return value
An AcisFile object.
Exceptions
This method creates an AcisFile object from a file containing IGES-format geometry. This object is subsequently used by the PartFromGeometryFile method.
mdb.openIges
Required argument
A String specifying the path to the IGES file to open.
Optional arguments
A SymbolicConstant specifying the method used to define the trim curves that bound parametric surfaces. Possible values are:
The default value is DEFAULT.
DEFAULT, use either of the following as specified by the contents of the IGES file.
PARAMETRIC_DATA, use the parameter space of the surface being trimmed.
THREED_DATA, use real space—the coordinate system of the part along with an indication that the trim curve lies on the parametric surface.
A SymbolicConstant specifying whether the imported geometry needs to be scaled using the units information available in the IGES file. Possible values are ON and OFF. The default value is OFF. When the argument is set to ON, the geometry is scaled to millimeters with respect to the unit system specified in the IGES file.
A Boolean specifying if the IGES file contains MSBO (Manifold Solid B-Rep Object) entities. The default value is False.
A sequence of Ints specifying the levels or layers of entities that will be translated from the IGES file to build the part. The default is to include all the layers.
A SymbolicConstant specifying the topology of the data to be read from the file and of the part to be created. Possible values are SOLID , SHELL, and WIRE. If topology=SOLID, Abaqus/CAE attempts to attach cells to create a solid. If topology=SHELL, Abaqus/CAE builds the body as a shell entity and not as a solid entity. The default value is SOLID.
A SymbolicConstant specifying whether the imported wires need to be united or not. Possible values are ON and OFF. The default value is ON. When importing a sketch, this value is set to OFF.
Return value
An AcisFile object.
Exceptions
The data in the IGES file are corrupted.
This method creates an AcisFile object from a file containing Parasolid-format geometry. This object is subsequently used by the PartFromGeometryFile method.
mdb.openParasolid
Required argument
A String specifying the path to the Parasolid file to open.
Optional argument
A SymbolicConstant specifying the topology of the data to be read from the file and of the part to be created. Possible values are SOLID , SHELL, and WIRE. If topology=SOLID, Abaqus/CAE attempts to attach cells to create a solid. If topology=SHELL, Abaqus/CAE builds the body as a shell entity and not as a solid entity. The default value is SOLID.
Return value
An AcisFile object.
Exceptions
This method creates an AcisFile object from a file containing STEP-format geometry. This object is subsequently used by the PartFromGeometryFile method.
mdb.openStep
Required argument
A String specifying the path to the STEP file to open.
Optional argument
A Float specifying the scaling factor to apply to the imported geometric entities. The default value is 1.0.
Return value
An AcisFile object.
Exceptions
The data in the STEP file are corrupted.
This method creates an AcisFile object from a file containing VDA-FS-format geometry. This object is subsequently used by the PartFromGeometryFile method.
mdb.openVda
Required argument
A String specifying the path to the VDA-FS file to open.
Optional arguments
Return value
An AcisFile object.
Exceptions
The data in the VDA-FS file are corrupted.
This method exports the assembly to a named file in ACIS format.
Required argument
A String specifying the name of the file to which to write.
Optional argument
A Float specifying the ACIS version. For example, the Float “12.0” corresponds to ACIS Version 12.0. The default value is the current version of ACIS.
Return value
Exceptions