GetMetallicProtectiveLayerNode
Returns a true or false value indicating whether the function is applied to the protective layer's boundary conditions and finite element method is used as the calculation method or not. When the operation is successful, the function returns the node ID argument the underlying metallic node ID that exists beneath the protective layer node.
Calling convention:
bool GetMetallicProtectiveLayerNode (int*, val)
Note:
To access this method, you must use the GetTMGFunction method and include the AdditionalFunctions.h file located in the [installation_path]\tmg\include\maya\expeval_utils folder in the beginning of your source file.
Argument | Data type | Description |
---|---|---|
val | int* | The metallic node ID beneath the protective layer node. |
Example:
int metallicNode = 0;
boolResult = pGetMetallicProtectiveLayerNode(&metallicNode);
For the example how access this method, see the GetAreaBC method.