• | Analysis |
• | Analysis Feature |
• | Feature Regeneration—Creo Parametric knows from the feature references what other features it depends on, and therefore whether the features needs to be included in a particular regeneration. |
• | Rerouting Features |
• | Patterning Features |
• | ui |
• | dims |
• | infoalloc |
• | infofree |
• | compcheck |
• | compute |
• | display |
• | output |
• | savecheck |
• | infosave |
• | inforetrieve |
• | infocopy |
• | result |
Callback
|
Description
|
---|---|
infoalloc
|
Allocate memory for the Creo TOOLKIT application information about the toolkit-based analysis.
|
ui
|
Creo TOOLKIT prompts the user for inputs that define the analysisfor example, select a surface datum point on which to position a csys.
|
compcheck
|
Tell Creo Parametric whether the computation can be performed. If the Creo TOOLKIT application cannot perform the computation (for example, because input data is unavailable), it returns an error and the
regeneration fails.
|
compute
|
Perform the analysis computation and store the results in memory.
|
display
|
Display graphics showing the computation result.
|
output
|
Pass a set of text lines to Creo Parametric for display in the ANALYSIS dialog box to show the result of the computation.
|
infocopy
|
Copy the application information from an existing analysis to a new one. Call infocopy during creation because of the way in which Creo Parametric handles feature creation.
|
dims
|
Creo TOOLKIT gives Creo Parametric a list of double values needed to calculate the geometry. Creo Parametric stores these as model dimensions.
|
result
|
Creo TOOLKIT gives Creo Parametric a description of the feature parameters and geometry items that result from the computation of the analysis. Creo Parametric may also call this callback when it needs to know only the number and names of parameters and datums; an example is when
the user selects Feature Info. For more details, refer to the section Results Data.
|
Callback
|
Description
|
---|---|
savecheck
|
Tell Creo Parametric whether the description of the analysis can be saved.
|
infosave
|
Give Creo Parametric a list of geometry items referenced by the analysis. Creo Parametric stores these using its own internal mechanism for storing references. The references appear in the model as feature references,
and are used to determine the relationship of the feature to other features, and therefore when the feature needs to be regenerated.
OR
Store any other data as external data.
|
Callback
|
Description
|
---|---|
inforetrieve
|
Creo Parametric provides an array of ProSelection objects representing the geometry references it stored with the analysis. (This means that the Creo TOOLKIT application does not need to save these references between sessionsCreo Parametric uses its own mechanism.)
|
Callback
|
Description
|
---|---|
infofree
|
The Creo TOOLKIT application frees the memory used by its internal description of the analysis.
|
typedef struct analysis_param
{
ProName name;
ProBoolean create;
ProLine description;
ProParamvalue *values;
} ProAnalysisParameter;
typedef struct analysis_geom
{
ProName name;
ProBoolean create;
ProAnalysisEntityType type;
ProAnalysisEntity *shapes;
} ProAnalysisGeomitem;
PRO_ANALYSIS_CURVE
|
Curve
|
PRO_ANALYSIS_CSYS
|
Coord csys
|
PRO_ANALYSIS_POINT
|
Datum point
|
PRO_ANALYSIS_COMP_CRV
|
Composite curve
|
PRO_ANALYSIS_SURFACE
|
Surface
|
typedef union
{
ProAnalysisSrfData *surface;
ProQuiltdata *quilt;
ProCurvedata *curve;
ProCsysdata csys;
} ProAnalysisEntity;
typedef struct ProAnalysisSrfData
{
ProEdgedata *edge_data;
ProSurfacedata *pro_surface;
} ProAnalysisSrfData;