Public Member Functions | List of all members
MeshToModelParameter Class Reference

MeshToModelParameter class is used to set parameters for generating a model from a mesh.
The class can be called from MeshGroupList class.
. More...

Public Member Functions

bool GetAirRegionSameId ()
 Returns True if the air regions have the same number, False if they do not. More...
 
bool GetOutput (int partId)
 Returns True if the component with the specified component ID is output, and False if it does not. More...
 
int GetOutputId (int partId)
 Returns the output property number of the part with the specified part ID. More...
 
bool GetPartsGroupSameId ()
 Returns True if grouped parts have the same number, False if they do not. More...
 
bool GetRenumberId ()
 Returns True if setting numbers are renumbered consecutively starting from 1, and False if not. More...
 
bool IsValid ()
 Returns True if an object is valid. More...
 
void SetAirRegionSameId (bool state)
 Specifies whether to make the air area the same number. More...
 
void SetOutput (int partId, bool output)
 Specifies whether to output the part with the specified part ID. More...
 
void SetOutputId (int partId, int outVal)
 Specifies the output property number of the part with the specified Part ID. More...
 
void SetPartsGroupSameId (bool state)
 Specifies whether to make the grouped parts the same number. More...
 
void SetRenumberId (bool state)
 Specifies whether to renumber the setting numbers continuously from 1. More...
 

Detailed Description

MeshToModelParameter class is used to set parameters for generating a model from a mesh.
The class can be called from MeshGroupList class.
.

Example of calling the class object:

app.GetModel(0).GetStudy(0).GetMeshToModelParameter().GetOutput(1)

Member Function Documentation

bool MeshToModelParameter::GetAirRegionSameId ( )

Returns True if the air regions have the same number, False if they do not.

Returns
Whether the air region has the same number
bool MeshToModelParameter::GetOutput ( int  partId)

Returns True if the component with the specified component ID is output, and False if it does not.

Parameters
partIdPart ID
Returns
Whether to output the part with the specified part ID
int MeshToModelParameter::GetOutputId ( int  partId)

Returns the output property number of the part with the specified part ID.

Parameters
partIdPart ID to get output property number
Returns
Output property number of specified part ID
bool MeshToModelParameter::GetPartsGroupSameId ( )

Returns True if grouped parts have the same number, False if they do not.

Returns
Whether grouped parts have the same number
bool MeshToModelParameter::GetRenumberId ( )

Returns True if setting numbers are renumbered consecutively starting from 1, and False if not.

Returns
Whether to renumber setting numbers continuously from 1
bool MeshToModelParameter::IsValid ( )

Returns True if an object is valid.

Returns
Whether or not the MeshToModelParameter objects in the list are valid
void MeshToModelParameter::SetAirRegionSameId ( bool  state)

Specifies whether to make the air area the same number.

Parameters
state
True=1 : Uses the same number for air regions
False=0 : Does not use the same number for air regions
void MeshToModelParameter::SetOutput ( int  partId,
bool  output 
)

Specifies whether to output the part with the specified part ID.

Parameters
partIdPart ID
state
True=1 : Output parts
False=0 : Do not output parts
void MeshToModelParameter::SetOutputId ( int  partId,
int  val 
)

Specifies the output property number of the part with the specified Part ID.

Parameters
partIdPart ID to set output property number
valOutput property number to be set
void MeshToModelParameter::SetPartsGroupSameId ( bool  state)

Specifies whether to make the grouped parts the same number.

Parameters
state
True=1 : Makes grouped parts the same number
False=0 : Grouped parts do not have the same number
void MeshToModelParameter::SetRenumberId ( bool  state)

Specifies whether to renumber the setting numbers continuously from 1.

Parameters
state
True=1 : Reassign the setting number continuously from 1
False=0 : The setting number keeps the current status