Skip to main content

Mechanical scripting interface

GeometryImportPreferences

Last update: 14.01.2025

class Ansys.ACT.Mechanical.Utilities.GeometryImportPreferences

Bases: object

Overview

Properties

Name Description
AnalysisType Specify the analysis type to target during import.
AttributeKey If ProcessAttributes is true, import only those attributes with this prefix.
CADAssociativity Allow associativity.
Clean Clean unwanted features when importing geometry.
ComparePartsOnUpdate Enable mesh preservation on refresh for unmodified entities.
ComparePartsTolerance Specifies the tolerance to use when comparing parts.
CoordinateSystemKey If ProcessCoordinateSystems is true, import only those coordinate systems with this
DecomposeDisjointGeometry Enable the decomposition of disjoint geometries for the following associative geometry
DoSmartUpdate Speed up refreshes for models with unmodified components. Causes changes to other import
EnclosureSymmetryProcessing Enable the processing of enclosure and symmetry named selections.
FacetQuality Specifies what facet quality should be used for the import.
MixedImportResolution Allows mixed-dimension parts to be imported as assembly components with parts of
NamedSelectionKey If ProcessNamedSelections is true, import only those named selections with this
ProcessAttributes Import CAD system attributes.
ProcessCoordinateSystems Import coordinate systems defined in the CAD source.
ProcessInstances Honor part instance specifications.
ProcessLines Import lines bodies.
ProcessMaterialProperties Import primary material data defined in the CAD source.
ProcessNamedSelections Import/create named selections.
ProcessSolids Import solid bodies.
ProcessSurfaces Import surface bodies.
ProcessWorkPoints Import work points.
ReaderSaveFile Save the part file of a model after the import.
StitchTolerance If StitchType is User, specifies the tolerance to use for stitching detection.
StitchType Specifies how surfaces should be stitched together.

Property detail

property GeometryImportPreferences.AnalysisType : Ansys.Mechanical.DataModel.Enums.GeometryImportPreference.AnalysisType | None

Specify the analysis type to target during import.

property GeometryImportPreferences.AttributeKey : str | None

If ProcessAttributes is true, import only those attributes with this prefix. Multiple semicolon-delimited filters may be specified. An empty string matches everything.

property GeometryImportPreferences.CADAssociativity : bool | None

Allow associativity.

property GeometryImportPreferences.Clean : bool | None

Clean unwanted features when importing geometry.

property GeometryImportPreferences.ComparePartsOnUpdate : Ansys.Mechanical.DataModel.Enums.GeometryImportPreference.ComparePartsOnUpdate | None

Enable mesh preservation on refresh for unmodified entities.

property GeometryImportPreferences.ComparePartsTolerance : Ansys.Mechanical.DataModel.Enums.GeometryImportPreference.ComparePartsTolerance | None

Specifies the tolerance to use when comparing parts.

property GeometryImportPreferences.CoordinateSystemKey : str | None

If ProcessCoordinateSystems is true, import only those coordinate systems with this prefix. Multiple semicolon-delimited filters may be specified. An empty string matches everything.

property GeometryImportPreferences.DecomposeDisjointGeometry : bool | None

Enable the decomposition of disjoint geometries for the following associative geometry interfaces: bullet

property GeometryImportPreferences.DoSmartUpdate : bool | None

Speed up refreshes for models with unmodified components. Causes changes to other import preferences to be ignored during refresh.

property GeometryImportPreferences.EnclosureSymmetryProcessing : bool | None

Enable the processing of enclosure and symmetry named selections.

property GeometryImportPreferences.FacetQuality : Ansys.Mechanical.DataModel.Enums.GeometryImportPreference.FacetQuality | None

Specifies what facet quality should be used for the import. The default value is Source meaning that the facets as represented in the CAD system or use a Normal option for those that do not have display. The others are relative settings compared to “normal” facet quality. Typically, better facet quality requires more memory and may take additional time to import/update.

property GeometryImportPreferences.MixedImportResolution : Ansys.Mechanical.DataModel.Enums.GeometryImportPreference.MixedImportResolution | None

Allows mixed-dimension parts to be imported as assembly components with parts of different dimensions.

property GeometryImportPreferences.NamedSelectionKey : str | None

If ProcessNamedSelections is true, import only those named selections with this prefix. Multiple semicolon-delimited filters may be specified.

property GeometryImportPreferences.ProcessAttributes : bool | None

Import CAD system attributes.

property GeometryImportPreferences.ProcessCoordinateSystems : bool | None

Import coordinate systems defined in the CAD source.

property GeometryImportPreferences.ProcessInstances : bool | None

Honor part instance specifications.

property GeometryImportPreferences.ProcessLines : bool | None

Import lines bodies.

property GeometryImportPreferences.ProcessMaterialProperties : bool | None

Import primary material data defined in the CAD source.

property GeometryImportPreferences.ProcessNamedSelections : bool | None

Import/create named selections.

property GeometryImportPreferences.ProcessSolids : bool | None

Import solid bodies.

property GeometryImportPreferences.ProcessSurfaces : bool | None

Import surface bodies.

property GeometryImportPreferences.ProcessWorkPoints : bool | None

Import work points.

property GeometryImportPreferences.ReaderSaveFile : bool | None

Save the part file of a model after the import.

property GeometryImportPreferences.StitchTolerance : float | None

If StitchType is User, specifies the tolerance to use for stitching detection.

property GeometryImportPreferences.StitchType : Ansys.Mechanical.DataModel.Enums.GeometryImportPreference.StitchSurfacesOnImport | None

Specifies how surfaces should be stitched together.