Category Solids and parts, Object ProSolid

Function ProSolidRegenerationstatusGet


Description
Returns the regeneration status of the solid model. This is analogous to the regen status indicator (Green/Disconnected/Yellow/Red) in the Creo Parametric UI.

Note: Models with certain contents, like circular references or assembly analysis features, will never return a PRO_SOLID_REGENERATED status. So this flag should not provide an absolute restriction; if the flag remains at the PRO_SOLID_NEEDS_REGENERATION status through two successful regenerations, the model could be considered up to date.

Synopsis
#include <ProSolid.h>
ProErrorProSolidRegenerationstatusGet(
ProSolid solid
/* (In)
The solid model.
*/
ProSolidRegenerationStatus* regen_status
/* (Out)
The current regeneration status for the solid model.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
See Also
ProSolidRegenerate

Manual References:

  1. Core: Solids, Parts, and Materials: Regenerating a Solid