MeshWorkflow

Object that wraps IDSEngineeringModelWorkflowGroup.

Defines a MeshWorkflow.

Declaration Syntax

public class MeshWorkflow : DataModelObject, IFolderDataModelObject

Table 303: Members

Property

Children

Gets the list of children.

Property

DataModelObjectCategory

Gets the current DataModelObject's category.

Property

Figures

Gets the list of associated figures.

Property

Images

Gets the list of associated images.

Property

ImportedWorkflowFilename

The filename of the template.emx file that populated the workflow initially.

Property

InternalObject

Gets the internal object. For advanced usage only.

Property

UnitSystem

Defines the “unit system” of a Prime Model, if not defined, the unit system is deduced from the geometry at input data transfer time.

Property

WorkflowType

Returns the workflow type which is applicable to the Input, Steps, and Output.

Method

AddFigure()

Creates a new child Figure.

Method

AddImage(string)

Creates a new child Image. If a filePath is provided, the image will be loaded from that file, if not, the image will be a screen capture of the Geometry window.

Method

AddInput()

Adds an “Input” node as child object under the “Mesh Workflow” and returns the new MeshWorkflowInput object if not existent, otherwise it returns the already available MeshWorkflowInput object.

Method

AddOutput()

Adds an “Output” node as child object under the “Mesh Workflow” and returns the new MeshWorkflowOutput object if not existent, otherwise it returns the already available MeshWorkflowOutput object.

Method

ClearGeneratedData()

Clears all the generated data, i.e., It resets all inactive geometry parts/bodies to active again, clears the output data, and resets the state of the child objects (“Input”, “Steps”, “Output”) to the initial state. However, any user-defined settings such as the “Input” node scoping are retained.

Method

ClearOutputData()

Clears only the "Output" data, i.e., the generated Geometry part(s) and the associated mesh.

Method

Delete()

Run the Delete action.

Method

ExportWorkflow(string)

Exports the steps as template into a .emx file.

Method

FinalizeWorkflow()

Once all steps in a mesh workflow are completed successfully, the workflow can be completed which will transfer the generated data back into new Mechanical geometry part(s) together with the corresponding part mesh(es).

Method

Generate()

Generates the desired data by executing the whole workflow, i.e., transferring the input data, executing all steps, and completing the workflow by transferring the output data back into Geometry and Mesh data.

Method

GetAllLabelNames()

Gets all the PrimeMesh model labels names currently defined for the workflow.

Method

GetAllPartNames()

Gets all the PrimeMesh model parts names currently defined for the workflow.

Method

GetAllSizeFieldNames()

Gets all the PrimeMesh model volumetric size field names currently defined for the workflow.

Method

GetAllZoneNames()

Gets all the PrimeMesh model zones names currently defined for the workflow.

Method

GetChildren<ChildrenType>(bool, IList<ChildrenType>)

Gets the list of children, filtered by type.

Method

GetChildren(DataModelObjectCategory, bool, IList<IDataModelObject>)

Gets the list of children, filtered by type.

Method

GetSolidSurfaceMeshQualityWarningLimit(MeshMetricType)

Get Mesh Quality Warning Limit

Method

ImportWorkflow(string)

Imports the steps from a template .emx file.

Method

InitializeWorkflow()

Initializes the mesh workflow by transferring the scoped geometry parts/bodies from Mechanical into the PrimeMesh model and updates the “Input” node state accordingly.