User's Guide > Assembly: Simplified Representations > Modifying Simplified Representations
Modifying Simplified Representations
 
Functions Introduced:
*Creo TOOLKIT supports simplified representation of Assemblies only, not Parts.
Using Creo TOOLKIT, you can modify the attributes of existing simplified representations. After you create or retrieve a simplified representation, you can make calls to the ProSimprepdata*Set() functions listed in this section to designate new values for the fields in the ProSimprepdata structure.
To modify an existing simplified representation, retrieve it, then get the handle to its ProSimprepdata structure by calling the function ProSimprepdataGet(). (If you created the representation programmatically within the same application, the ProSimprepdata handle is already available.) After modifying the data structure, reassign it to the corresponding simplified representation by calling the function ProSimprepdataSet(). Use the function ProSimprepdataTmpvalSet to specify whether the newly created representation is temporary. Pass the value PRO_B_TRUE to the input argument temp to make the newly created representation a temporary representation.
*Use the function ProSimprepdataTmpvalSet() to set the value of the temp input argument in the specified ProSimprepdata structure while creating new simplified representations only. Once the simplified representation is created, this attribute is controlled by Creo+. For all the existing representations, Creo+ controls the temp input argument and sets its value automatically
Was this helpful?