Category Behavioral modeling, Object ProAnalysis

Callback ProAnalysisResultAction


Description
This notification is called during creation or regeneration of an Analysis Feature, to give Creo Parametric the parameters and geometry items to be created in that feature. It can be called sometimes before the compute callback, when Creo Parametric needs to know which parameters and entities will be created. In this case the arg names_only will be true, and the output arrays should contain the parameter and entity names only. Set the notification by calling ProAnalysisTypeRegister().
Synopsis
#include <ProAnalysis.h>
ProError(*ProAnalysisResultAction)(
ProAnalysis analysis
/* (In)
The analysis
*/
ProBoolean names_only
/* (In)
PRO_B_TRUE if only the parameter and entity names are required.
*/
ProAnalysisParameter** parameters
/* (Out)
A ProArray of descriptions of feature parameters to be created/modified on the analysis feature. Allocated and freed by Creo Parametric.
*/
ProAnalysisGeomitem** geometry
/* (Out)
A ProArray of sets of geometry items to be added to the analysis feature. Each time the analysis feature is regenerated, geometry items which may be referenced from later features should be put in the same index of the geometry array, so that Creo Parametric can preserve the reference. A geometry item that contains no geometry on a particular call should be kept in the array with a NULL geomitems pointer, to maintain the sequence of the other items. Creo Parametric allocates and frees the geometry array.
*/
)
Returns
The return value is ignored by Creo Parametric