User's Guide > Assembly: Simplified Representations > Creating and Deleting Simplified Representations
Creating and Deleting Simplified Representations
 
Functions Introduced:
ProSimprepdataAlloc()
ProSimprepCreate()
ProSimprepDelete()
Note:
 
Creo TOOLKIT does not support creation of part simplified representations.
To create a simplified representation, you must allocate and fill a ProSimprepdata structure by calling the function ProSimprepdataAlloc(). As input, the function requires the name of the new simplified representation, the temp value, and the default rule. The specific structure is initialized by the function in the Creo+ database.
To generate the new simplified representation, call ProSimprepCreate(). This function returns the ProSimprep handle for the new representation.
The function ProSimprepDelete() deletes a simplified representation from its model owner. The function requires only the ProSimprep handle as input.
Example 1: Creating a Simplified Representation
The example in the file UgSimprepCreate.c located at <creo_toolkit_loadpoint>/protk_appls/pt_userguide/ptu_simprep, shows how to create a simplified representation.
這是否有幫助?