User's Guide > Simplified Representations > Simplified Representation Utilities
Simplified Representation Utilities
 
Methods Introduced:
This section describes the utility methods that relate to simplified representations.
The method pfcModelItemOwner.ListItems() can list all of the simplified representations in a Solid.
The method pfcModelItemOwner.GetItemById() initializes a pfcSimpRep object. It takes an integer id.
* 
Web.Link supports simplified representation of Assemblies only, not Parts.
The method pfcSolid.GetSimpRep() initializes a pfcSimpRep object. The input argument SimpRepname is the name of the simplified representation in the solid. If you specify this argument, the method ignores the rep_id.
The method pfcSolid.SelectSimpRep() creates a Creo Parametric menu to enable interactive selection. The method takes the owning solid as input, and outputs the object to the selected simplified representation. If you choose the Quit menu button, the method throws an exception pfcXToolkitUserAbort
The methods pfcSolid.GetActiveSimpRep() and pfcSolid.ActivateSimpRep() enable you to find and get the currently active simplified representation, respectively. Given an assembly object, pfcSolid.GetActiveSimpRep() returns the object to the currently active simplified representation. If the current representation is the master representation, the return is null.
The method pfcSolid.ActivateSimpRep() activates the requested simplified representation.
To set a simplified representation to be the currently displayed model, you must also call pfcModel.Display().
Was this helpful?