MeshControl class is used to specify mesh settings.
The class can be called from Study class.
.
More...
Public Member Functions | |
| Condition * | CreateCondition (String &typeName, String &name) |
| Creates a mesh condition. More... | |
| Condition * | CreateLayerMesh (Selection *selection, double thickness, int division, double lamination) |
| Use CreateCondition instead. More... | |
| Condition * | CreateLayerMeshWithUnit (Selection *selection, double thickness, int division, double lamination, String &unitName) |
| Use CreateCondition instead. More... | |
| Condition * | CreateSizeCondition (String &typeName, Selection *selection, double value) |
| Use CreateCondition instead. More... | |
| Condition * | CreateSizeConditionWithUnit (String &typeName, Selection *selection, double value, String &unitName) |
| Use CreateCondition instead. More... | |
| Condition * | CreateSkinDepthSize (String &typeName, Selection *selection, double skinDepth, int division) |
| Use CreateCondition instead. More... | |
| Condition * | CreateSkinDepthSizeWithUnit (String &typeName, Selection *selection, double skinDepth, int division, String &unitName) |
| Use CreateCondition instead. More... | |
| void | DeleteCondition (Variant &val) |
| Deletes a condition specifying the element size of mesh. More... | |
| void | DeleteConditionByType (String &typeName, Variant &val) |
| Use DeleteCondition instead. More... | |
| Condition * | GetCondition (Variant &val) |
| Returns the Condition object of the specified type. More... | |
| Condition * | GetConditionByType (String &typeName, Variant &val) |
| Use GetCondition instead. More... | |
| Variant | GetConditionTypeNames () |
| Returns a list of type names for mesh condition. More... | |
| int | GetCoordinateSystemIndex (String &propName) |
| Returns the index of the coordinate system in properties. More... | |
| String | GetCoordinateSystemName (String &propName) |
| Returns the name of the coordinate system of properties. More... | |
| String | GetFlagAsString (String &name) |
| Returns the flag name set in the specified property as a string. More... | |
| Variant | GetKeyNames (String &name) |
| Returns a list of flags that can be set in the specified property. More... | |
| Point * | GetPoint (String &propName) |
| Returns the value of the property whose Type is "Vector" as a Point object. More... | |
| String | GetPropertyHelp (String &propName) |
| Returns the help of properties as a string. More... | |
| Variant | GetPropertyNames () |
| Returns the name list of all properties that can be specified for conditions. More... | |
| String | GetPropertyTable () |
| Returns the property name and description using a string. More... | |
| String | GetPropertyType (String &propName) |
| Returns the type of the property with the specified name. More... | |
| DataSet * | GetTable (String &propName) |
| Returns DataSet. More... | |
| double | GetValue (String &propName) |
| Returns the property values as real numbers. More... | |
| double | GetValueWithUnit (String &propName, String &unitName) |
| Returns the property values as real numbers in the specified unit. More... | |
| virtual bool | IsValid () |
| Returns True if an object is valid. More... | |
| int | NumConditions () |
| Returns the number of mesh conditions as an integer. More... | |
| int | NumConditionsByType (String &typeName) |
| Use NumConditions instead. More... | |
| void | SetCoordinateSystem (String &propName, Variant &val) |
| Specifies the coordinate system in properties. More... | |
| void | SetFlagByName (String &propName, String &scriptKeyName) |
| Specifies the name to set the value of the flag property. More... | |
| void | SetPoint (String &propName, Point *value) |
| Specifies "Vector" type properties. More... | |
| void | SetTableProperty (String &propName, DataSet *set) |
| Specifies a table for the specified properties. More... | |
| void | SetValue (String &propName, Variant &value) |
| Specifies the name to set mesh properties. More... | |
| void | SetValueWithUnit (String &propName, double value, String &unitName) |
| Specifies the name to set mesh properties in units. More... | |
| void | SetXYZPoint (String &propName, Variant &x, Variant &y, Variant &z) |
| Specifies point type properties with x, y, and z values. More... | |
MeshControl class is used to specify mesh settings.
The class can be called from Study class.
.
Example of calling the class object:
For more information about the properties specified by the arguments "propName" for the mesh property, see "scriptMeshCondition"
| Condition * MeshControl::CreateCondition | ( | String & | typeName, |
| String & | name | ||
| ) |
Creates a mesh condition.
For more information about the types of mesh conditions, see Properties and Flags for the Mesh Settings .
| Condition * MeshControl::CreateLayerMesh | ( | Selection * | selection, |
| double | thickness, | ||
| int | division, | ||
| double | lamination | ||
| ) |
Use CreateCondition instead.
| selection | Selection object |
| thickness | Thickness |
| division | Number of layers |
| lamination | Lamination factor |
| Condition * MeshControl::CreateLayerMeshWithUnit | ( | Selection * | selection, |
| double | thickness, | ||
| int | division, | ||
| double | lamination, | ||
| String & | unitName | ||
| ) |
Use CreateCondition instead.
| selection | Selection object |
| thickness | Thickness |
| division | Number of layers |
| lamination | Lamination factor |
| unitName | Unit |
| Condition * MeshControl::CreateSizeCondition | ( | String & | typeName, |
| Selection * | selection, | ||
| double | value | ||
| ) |
Use CreateCondition instead.
| typeName | |
| selection | Selection object |
| value | Value of element size |
| Condition * MeshControl::CreateSizeConditionWithUnit | ( | String & | typeName, |
| Selection * | selection, | ||
| double | value, | ||
| String & | unitName | ||
| ) |
Use CreateCondition instead.
| typeName | |
| selection | Selection object |
| value | Value of element size |
| unitName | Unit |
| Condition * MeshControl::CreateSkinDepthSize | ( | String & | typeName, |
| Selection * | selection, | ||
| double | skinDepth, | ||
| int | division | ||
| ) |
Use CreateCondition instead.
| typeName | Type name |
| selection | Selection object |
| value | Value of element size |
| skinDepth | Skin depth |
| division | Number of divisions |
| Condition * MeshControl::CreateSkinDepthSizeWithUnit | ( | String & | typeName, |
| Selection * | selection, | ||
| double | skinDepth, | ||
| int | division, | ||
| String & | unitName | ||
| ) |
Use CreateCondition instead.
| typeName | Type name |
| selection | Selection object |
| value | Value of element size |
| skinDepth | Skin depth |
| division | Number of divisions |
| unitName | Unit |
| void MeshControl::DeleteCondition | ( | Variant & | val | ) |
Deletes a condition specifying the element size of mesh.
| val | Name or index of the condition |
For more information about the types of mesh conditions, see Properties and Flags for the Mesh Settings .
| void MeshControl::DeleteConditionByType | ( | String & | typeName, |
| Variant & | val | ||
| ) |
Use DeleteCondition instead.
| typeName | Type name |
| val | Name or index of the condition |
| Condition * MeshControl::GetCondition | ( | Variant & | val | ) |
| Condition * MeshControl::GetConditionByType | ( | String & | typeName, |
| Variant & | val | ||
| ) |
Use GetCondition instead.
| typeName | Condition type name |
| val | Name or index of the condition |
| Variant MeshControl::GetConditionTypeNames | ( | ) |
Returns a list of type names for mesh condition.
For more information about the types of mesh conditions, see Properties and Flags for the Mesh Settings .
| int MeshControl::GetCoordinateSystemIndex | ( | String & | propName | ) |
Returns the index of the coordinate system in properties.
| propName | Property name |
| String MeshControl::GetCoordinateSystemName | ( | String & | propName | ) |
Returns the name of the coordinate system of properties.
| propName | Property name |
| String MeshControl::GetFlagAsString | ( | String & | name | ) |
Returns the flag name set in the specified property as a string.
| name | Property name |
| Variant MeshControl::GetKeyNames | ( | String & | name | ) |
Returns a list of flags that can be set in the specified property.
| name | Property name |
| Point * MeshControl::GetPoint | ( | String & | propName | ) |
| String MeshControl::GetPropertyHelp | ( | String & | propName | ) |
Returns the help of properties as a string.
| propName | Property name |
| Variant MeshControl::GetPropertyNames | ( | ) |
Returns the name list of all properties that can be specified for conditions.
| String MeshControl::GetPropertyTable | ( | ) |
Returns the property name and description using a string.
| String MeshControl::GetPropertyType | ( | String & | propName | ) |
Returns the type of the property with the specified name.
| propName | Property name |
| DataSet * MeshControl::GetTable | ( | String & | propName | ) |
| double MeshControl::GetValue | ( | String & | propName | ) |
Returns the property values as real numbers.
| name | Property name |
| double MeshControl::GetValueWithUnit | ( | String & | propName, |
| String & | unitName | ||
| ) |
Returns the property values as real numbers in the specified unit.
| name | Property name |
| unitName | Unit |
|
virtual |
Returns True if an object is valid.
| int MeshControl::NumConditions | ( | ) |
Returns the number of mesh conditions as an integer.
| int MeshControl::NumConditionsByType | ( | String & | typeName | ) |
Use NumConditions instead.
| typeName | Type of mesh condition |
| void MeshControl::SetCoordinateSystem | ( | String & | propName, |
| Variant & | val | ||
| ) |
Specifies the coordinate system in properties.
| propName | Property name |
| val | Name or index of the coordinate system |
| void MeshControl::SetFlagByName | ( | String & | propName, |
| String & | scriptKeyName | ||
| ) |
Specifies the name to set the value of the flag property.
| propName | Property name |
| scriptKeyName | Flag name |
| void MeshControl::SetPoint | ( | String & | propName, |
| Point * | value | ||
| ) |
Specifies "Vector" type properties.
Currently used units are used without accounting for the unit of values.
| propName | Property name |
| value | Point object |
| void MeshControl::SetTableProperty | ( | String & | propName, |
| DataSet * | set | ||
| ) |
Specifies a table for the specified properties.
| propName | Property name |
| set | DataSet (table) |
| void MeshControl::SetValue | ( | String & | propName, |
| Variant & | value | ||
| ) |
Specifies the name to set mesh properties.
| propName | Property name |
| value | Property value |
| void MeshControl::SetValueWithUnit | ( | String & | propName, |
| double | value, | ||
| String & | unitName | ||
| ) |
Specifies the name to set mesh properties in units.
| propName | Property name |
| value | Property value |
| unitName | Unit |
| void MeshControl::SetXYZPoint | ( | String & | propName, |
| Variant & | x, | ||
| Variant & | y, | ||
| Variant & | z | ||
| ) |
Specifies point type properties with x, y, and z values.
| propName | Property name |
| x | X-coordinate |
| y | Y-coordinate |
| z | Z-coordinate |