Category
Mechanica
, Object
ProMechshell
Function ProMechshellMaterialIdGet
Description
Obtains the material id.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <
ProMechShell.h
>
ProError
ProMechshellMaterialIdGet
(
ProMechItem
*
item
/* (In)
The shell.
*/
int *
matl_id
/* (Out)
The material id.
*/
)
Returns
PRO_TK_NO_ERROR
The function succeeded.
PRO_TK_BAD_INPUTS
One or more input arguments are invalid.
PRO_TK_BAD_CONTEXT
The Creo Simulate session is not initialized.
PRO_TK_INVALID_PTR
The Input
ProMechItem
Solid pointer is invalid.
PRO_TK_GENERAL_ERROR
A general error is encountered.
Manual References:
Creo Simulate: Items: Creo Simulate Shells