CADManager#

Usage:

CADManager Class API Wrapper

class CADManager[source]#

Bases: object

Wrapper for CADManager class of Moldflow Synergy.

create_entity_list()[source]#

Creates an empty EntList object When using this function, it will first ask for result invalidation. If you want to select entities without checking result, use StudyDoc.create_entity_list().

Returns:

The new entity list.

Return type:

EntList

modify_cad_surfaces_by_normal(faces, transit_faces, distance)[source]#

Modify CAD faces by a given distance

Parameters:
  • faces (EntList | None) – EntList object containing the faces to be modified

  • transit_faces (EntList | None) – EntList object containing the transit faces to be preserved

  • distance (float) – distance along input faces’ normal direction

Returns:

True if operation is successful; False otherwise

Return type:

bool

modify_cad_surfaces_by_vector(faces, transit_faces, vector)[source]#

Modify CAD faces by a given vector

Parameters:
  • faces (EntList | None) – EntList object containing the faces to be modified

  • transit_faces (EntList | None) – EntList object containing the transit faces to be preserved

  • vector (Vector | None) – Vector object that specifies the direction

Returns:

True if operation is successful; False otherwise

Return type:

bool