Category Mechanica, Object ProMechmeshcntrl

Function ProMechmeshcntrlElemsizedataSet


Description
Sets the elem size data for the mesh control item. Note: If you are creating a new mesh control using this type of data, you should assign the model as a reference using the function ProMechmeshcntrlReferencesSet().
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechMeshControl.h>
ProErrorProMechmeshcntrlElemsizedataSet(
ProMechItem* item
/* (In)
The mesh control item.
*/
ProMechMeshCntrlType control_type
/* (In)
minimum or maximum element size. (MIN_ELEMENT_SIZE or MAX_ELEMENT_SIZE)
*/
ProMechMCElemSizeData data
/* (In)
The data.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments are invalid.
PRO_TK_INVALID_TYPEThis item does not contain this type of data.
PRO_TK_CANT_ACCESSCannot access the object in the current mode.
PRO_TK_CANT_WRITESubtype cannot be changed.
PRO_TK_BAD_CONTEXTThe Creo Simulate session is not initialized.
PRO_TK_INVALID_PTRThe input ProMechItem solid pointer is invalid.
PRO_TK_GENERAL_ERRORA general error is encountered.
PRO_TK_CANT_MODIFYCannot modify the item.

Manual References:

  1. Creo Simulate: Items: Mesh Control
  2. Creo Simulate: Items: Mesh Control