PMDBExportOptions#

class ansys.geometry.core.misc.options.PMDBExportOptions#

Provides options for PMDB export.

Parameters:
parameter_prefixesstr, default: “”

Prefixes used to filter parameters for export.

cad_attribute_prefixesstr, default: “”

Prefixes used to filter CAD attributes for export.

named_selection_prefixesstr, default: “”

Prefixes used to filter named selections for export.

analysis_typeAnalysisType, default: AnalysisType.THREE_D

The analysis type (2D or 3D).

mixed_part_export_typePMDBMixedPartExportType, default: PMDBMixedPartExportType.NONE

The type of mixed parts to export.

attach_flattened_assemblybool, default: False

Whether to attach the assembly in a flattened structure.

use_cad_mass_propertiesbool, default: False

Whether to use CAD mass properties.

plane_prefixesstr, default: “”

Prefixes used to filter planes for export.

coordinate_system_prefixesstr, default: “”

Prefixes used to filter coordinate systems for export.

advanced_geom_processingbool, default: False

Whether to enable advanced geometry processing.

angular_deviationfloat, default: 0.0

Angular deviation for faceting (in degrees).

attach_weight_classPMDBAttachWeightClass, default: PMDBAttachWeightClass.HEAVYWEIGHT

The weight class for the attachment.

cad_associativitybool, default: False

Whether to enable CAD associativity.

cad_attribute_transferbool, default: False

Whether to transfer CAD attributes.

do_smart_updatebool, default: False

Whether to perform a smart update.

geometry_deviationfloat, default: 0.0

Geometry deviation for faceting (in meters).

process_coordinate_sysbool, default: False

Whether to process coordinate systems.

process_planesbool, default: False

Whether to process planes.

import_using_instancesbool, default: False

Whether to import using instances.

process_work_pointsbool, default: False

Whether to process work points.

is_selective_updatebool, default: False

Whether to perform a selective update.

material_propertiesbool, default: False

Whether to include material properties.

granta_material_propertiesbool, default: False

Whether to include Granta material properties.

max_facet_sizefloat, default: 0.0

Maximum facet size (in meters). Zero means no limit.

named_selectionbool, default: False

Whether to export named selections.

parameter_processing_typePMDBImportParameterType, default: PMDBImportParameterType.NONE

The type of parameters to process.

plug_in_facet_qualityPMDBPlugInFacetQuality, default: PMDBPlugInFacetQuality.NONE

The facet quality setting for plug-in readers.

process_enclosure_and_symmetrybool, default: False

Whether to process enclosure and symmetry.

reader_save_partbool, default: False

Whether the reader should save the part.

target_applicationPMDBTargetApplication, default: PMDBTargetApplication.PARTMGR

The target application for the exported PMDB.

temp_directorystr, default: “”

Temporary directory path used during export.

process_physics_definitionbool, default: False

Whether to process physics definitions.

process_solid_bodiesbool, default: False

Whether to process solid bodies.

process_surface_bodiesbool, default: False

Whether to process surface bodies.

process_line_bodiesbool, default: False

Whether to process line bodies.

Overview#

Import detail#

from ansys.geometry.core.misc.options import PMDBExportOptions

Attribute detail#

PMDBExportOptions.parameter_prefixes: str = ''#
PMDBExportOptions.cad_attribute_prefixes: str = ''#
PMDBExportOptions.named_selection_prefixes: str = ''#
PMDBExportOptions.analysis_type: AnalysisType#
PMDBExportOptions.mixed_part_export_type: PMDBMixedPartExportType#
PMDBExportOptions.attach_flattened_assembly: bool = True#
PMDBExportOptions.use_cad_mass_properties: bool = True#
PMDBExportOptions.plane_prefixes: str = ''#
PMDBExportOptions.coordinate_system_prefixes: str = ''#
PMDBExportOptions.advanced_geom_processing: bool = False#
PMDBExportOptions.angular_deviation: float = 0.0#
PMDBExportOptions.attach_weight_class: PMDBAttachWeightClass#
PMDBExportOptions.cad_associativity: bool = False#
PMDBExportOptions.cad_attribute_transfer: bool = True#
PMDBExportOptions.do_smart_update: bool = False#
PMDBExportOptions.geometry_deviation: float = 0.0#
PMDBExportOptions.process_coordinate_sys: bool = True#
PMDBExportOptions.process_planes: bool = True#
PMDBExportOptions.import_using_instances: bool = True#
PMDBExportOptions.process_work_points: bool = True#
PMDBExportOptions.is_selective_update: bool = False#
PMDBExportOptions.material_properties: bool = True#
PMDBExportOptions.granta_material_properties: bool = False#
PMDBExportOptions.max_facet_size: float = 0.0#
PMDBExportOptions.named_selection: bool = True#
PMDBExportOptions.parameter_processing_type: PMDBImportParameterType#
PMDBExportOptions.plug_in_facet_quality: PMDBPlugInFacetQuality#
PMDBExportOptions.process_enclosure_and_symmetry: bool = True#
PMDBExportOptions.reader_save_part: bool = False#
PMDBExportOptions.target_application: PMDBTargetApplication#
PMDBExportOptions.temp_directory: str | pathlib.Path | None = None#
PMDBExportOptions.process_physics_definition: bool = True#
PMDBExportOptions.process_solid_bodies: bool = True#
PMDBExportOptions.process_surface_bodies: bool = True#
PMDBExportOptions.process_line_bodies: bool = True#