Category
Mechanica
, Object
ProMechitem
Function ProMechitemRemove
Description
Removes a Creo Simulate item from the model.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <
ProMechItem.h
>
ProError
ProMechitemRemove
(
ProMechItem
*
item
/* (In)
The item to be deleted.
*/
)
Returns
PRO_TK_NO_ERROR
The function succeeded.
PRO_TK_CANT_ACCESS
Cannot access the object in the current mode.
PRO_TK_BAD_INPUTS
One or more input arguments are invalid.
PRO_TK_E_IN_USE
Another simulation item is dependent on this item. Use
ProMechitemDependenciesGet
() to find the dependent items.
PRO_TK_CANT_MODIFY
Cannot modify the item.
PRO_TK_GENERAL_ERROR
A general error is encountered.
PRO_TK_INVALID_PTR
The Input
ProMechItem
Solid pointer is invalid.
Sample Code References:
pt_mech_examples ( PTMechExDelete.c )