User's guide > Simplified Representations
Simplified Representations
Creo Object TOOLKIT Java gives programmatic access to all the simplified representation functionality of Creo application. Create simplified representations either permanently or on the fly and save, retrieve, or modify them by adding or deleting items.
Overview
Using Creo Object TOOLKIT Java, you can create and manipulate assembly simplified representations just as you can using Creo application interactively.
* 
Creo Object TOOLKIT Java supports simplified representation of assemblies only, not parts.
Simplified representations are identified by the pfcSimpRep.SimRep class. This class is a child of pfcModelItem.ModelItem, so you can use the methods dealing with pfcModelItems to collect, inspect, and modify simplified representations.
The information required to create and modify a simplified representation is stored in a class called pfcSimpRep.SimpRepInstructions which contains several data objects and fields, including:
String—The name of the simplified representation
pfcSimpRep.SimpRepAction—The rule that controls the default treatment of items in the simplified representation.
pfcSimpRep.SimpRepItem—An array of assembly components and the actions applied to them in the simplified representation.
A pfcSimpRep.SimpRepItem is identified by the assembly component path to that item. Each pfcSimpRep.SimpRepItem has it’s own pfcSimpRep.SimpRepAction assigned to it. pfcSimpRep.SimpRepAction is a visible data object that includes a field of type pfcSimpRep.SimpRepActionType. You can use the method pfcSimpRep.SimpRepAction.Action() to set the actions. To delete an existing item, you must set the action as NULL.
pfcSimpRep.SimpRepActionType is an enumerated type that specifies the possible treatment of items in a simplified representation. The possible values are as follows
Values
Action
SIMPREP_NONE
No action is specified.
SIMPREP_REVERSE
Reverse the default rule for this component (for example, include it if the default rule is exclude).
SIMPREP_INCLUDE
Include this component in the simplified representation.
SIMPREP_EXCLUDE
Exclude this component from the simplified representation.
SIMPREP_SUBSTITUTE
Substitute the component in the simplified representation.
SIMPREP_GEOM
Use only the geometrical representation of the component.
SIMPREP_GRAPHICS
Use only the graphics representation of the component.
SIMPREP_SYMB
Use the symbolic representation of the component.
SIMPREP_BOUNDBOX
Use the boundary box representation of the component.
SIMPREP_DEFENV
Use the default envelope representation of the component.
SIMPREP_LIGHT_GRAPH
Use the light weight graphics representation of the component.
SIMPREP_AUTO
Use the automatic representation of the component.
Was this helpful?