Overview
The syntax of the working set specification used by the WorkingSet library is similar to the working set syntax used by EXPRESS compiler with the following extensions and limitations:
- It allows you to specify entities by their ID numbers, not only by types.
- It allows you to selectively cut the entity reference chains.
- It does not use the ANDOR constructs (complex types handling is controlled by the P21WorkingSet class).
Syntax Specification
The following special characters are used:
|
Character |
Meaning |
Example |
|---|---|---|
;
|
Comment |
; Working set file (Ignores this line) |
+ (optional)
|
Include this entity |
+my_entity (Includes my_entity) |
-
|
Exclude this entity and all its references |
-my_entity (Excludes my_entity and all entities it refers to) |
~
|
Exclude this entity only |
~my_entity (Excludes my_entity but retains all its references) |
#
|
Use entity instance ID instead of type |
#130 (Includes entity #130) |
:
|
Separates entity specification and file name (P21FileSplitter class only) |
#1780: first.stp (When splitting, places entity #1780 into the first.stp file) |