ImportOptions#

Usage:

ImportOptions Class API Wrapper

class ImportOptions[source]#

Bases: object

Wrapper for ImportOptions class of Moldflow Synergy.

property cad_body_property: int#

The CAD body property.

Getter:

Get the CAD body property.

Setter:

Set the CAD body property.

Type:

int

property mdl_auto_edge_select: bool#

Specifies whether MDL should automatically select edges for meshing.

Getter:

Get the MDL auto edge select.

Setter:

Set the MDL auto edge select. [True to automatically select edges, False to not automatically select edges.]

Type:

bool

property mdl_chord_angle: float#

The MDL chord angle.[in radian]

Getter:

Get the MDL chord angle.

Setter:

Set the MDL chord angle.

Type:

float

property mdl_chord_angle_select: bool#

Specifies whether chord angle should be used for meshing.

Getter:

Get the MDL chord angle select.

Setter:

Set the MDL chord angle select. [True to use chord angle, False to not use chord angle.]

Type:

bool

property mdl_contact_mesh_type: str#

The MDL contact mesh type.

Getter:

Get the MDL contact mesh type.

Setter:

Set the MDL contact mesh type.

Type:

str

property mdl_edge_length: float#

The MDL edge length.

Getter:

Get the MDL edge length.

Setter:

Set the MDL edge length.

Type:

float

property mdl_kernel: str#

The MDL kernel.

Getter:

Get the MDL kernel.

Setter:

Set the MDL kernel.

Type:

str

property mdl_mesh: bool#

Specifies whether MDL should generate a mesh when importing the model.

Getter:

Get the MDL mesh.

Setter:

Set the MDL mesh. [True to generate a mesh, False to not generate a mesh.]

Type:

bool

property mdl_show_log: bool#

Specifies whether to display import log.

Getter:

Get the MDL show log.

Setter:

Set the MDL show log. [True to display import log, False to not display import log.]

Type:

bool

property mdl_sliver_removal: bool#

Specifies whether sliver removal option should be used for meshing.

Getter:

Get the MDL sliver removal.

Setter:

Set the MDL sliver removal. [True to use sliver removal, False to not use sliver removal.]

Type:

bool

property mdl_surfaces: bool#

Specifies whether MDL should translate surfaces when importing the model.

Getter:

Get the MDL surfaces.

Setter:

Set the MDL surfaces. [True to translate surfaces, False to not translate surfaces.]

Type:

bool

property mdl_tetra_layers: int#

Specifies the minimum number of tetra layer through thickness in 3D meshing.

Getter:

Get the MDL tetra layers.

Setter:

Set the MDL tetra layers.

Type:

int

property mesh_type: str#

The mesh type.

Getter:

Get the mesh type.

Setter:

Set the mesh type.

Type:

str

property units: str#

The units.

Getter:

Get the units.

Setter:

Set the units.

Type:

str

property use_layer_name_based_on_cad: bool#

Specifies whether using layer name based on CAD for direct import.

Getter:

Get the use layer name based on CAD.

Setter:

Set the use layer name based on CAD. [True to use layer name based on CAD, False to not use layer name based on CAD.]

Type:

bool

property use_mdl: bool#

Specifies whether MDL should be used for model import.

Getter:

Get the use MDL.

Setter:

Set the use MDL. [True to use MDL, False to not use MDL.]

Type:

bool