Object ProMech

Function ProMechFeaturePromote


Description
Promotes the Creo Simulate specific feature making it accessible in Creo Parametric. Note that a promoted feature cannot be transferred back to Creo Simulate.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechFeature.h>
ProErrorProMechFeaturePromote(
ProFeature * pro_feature
/* (In)
The Creo Simulate specific feature to be promoted
*/
ProAsmcomppath * comp_path
/* (In)
The path to the part to which the feature belongs. This can be NULL when you are promoting in Part mode or when the feature belongs to the top-level assembly.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully promoted the feature.
PRO_TK_BAD_INPUTSOne or more input arguments are invalid.
PRO_TK_INVALID_PTRThe Input ProFeature Solid pointer is invalid.
PRO_TK_E_NOT_FOUNDThe Input ProFeature Solid could not be retrieved.
PRO_TK_BAD_CONTEXTPromote command is not applicable for the input feature.
PRO_TK_GENERAL_ERRORFeature could not be promoted or a general error is encountered.

Manual References:

  1. Creo Simulate: Items: Creo Simulate Features