| • | 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. |
|
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| 1. | Get the pfcSimpRep.SimpRepInstructions object, as described in the previous section. |
| 2. | Specify the action to be applied to the item with a call to one of following methods. |
| 3. | Initialize a pfcSimpRep.SimpRepItem object for the item by calling the method pfcSimpRep.pfcSimpRep.SimpRepItem_Create. |
| 4. | Add the item to the pfcSimpRep.SimpRepItem sequence. Put the new pfcSimpRep.SimpRepInstructions using pfcSimpRep.SimpRepInstructions.SetItems. |
| 5. | Reassign the pfcSimpRep.SimpRepInstructions object to the corresponding pfcSimpRep.SimpRep object by calling pfcSimpRep.SimpRep.SetInstructions |
| |
| |
| |
| |
| |
| |
| • | SimpRepname The name of the simplified representation in the solid. If you specify this argument, the method ignores the rep_id. |
| • | AssemName—Name of the assembly to retrieve. |
| • | FileType—File type of the assembly to retrieve that is specified using by the enumerated data type wfcMdlfileType. |
| • | UDSrepName—Name of the user defined simplified representation to retrieve as automatic. |
| • | TreeItem—Specify the model feature whose light weight graphic representation is to be expanded. |
| • | LWGLevel—Specify the level up to which the expansion should take place using the enumerated type wfcAssembly.LightweightGraphicsSimprepLevel. The valid values for this enumerated class type are:
|