Generating PEX 5.1 Output Commands

For an overview and a list of all output primitive functions, see Output Command Functions.

PEX 5.2 introduces five primitive output commands (PEXOCFillAreaSetWithDataFP, PEXOCPolylineSetWithDataFP, PEXOCQuadrilateralMeshFP, PEXOCSetOfFillAreaSetsFP, PEXOCTriangleStripFP) that are similar to their 5.1 counterparts except that they support optional floating-point values in the facet and vertex data. By defaults, the PEXlib 5.2 OCC-style functions generate these "FP" forms when connected to a PEX 5.2 server. However, if connected to a PEX 5.1 server, or if the Alternate Protocol Level is 5.1, PEXlib generates the 5.1 version of these output commands. If PEXlib is generating a 5.1 version of the opcode and you supply data via the OCC-style function that is superfluous or in conflict with the capabilities of the PEX 5.1 output command, you may cause an output command error.

Note that you may also always generate PEX 5.1 output commands by using the non-OCC forms of the functions.

See Simplified OCC functions for primitive OC's for a table of the relationship between OCC and non-OCC primitive functions.

Also note that for many OCC functions, the implementation may generate one of several possible OC's, depending on the setting of the "GA" (General Attribute) flags. Applications that fetch elements from a structure would need to be particularly aware of this, since any application code that analyzes structure content would need to take into account the possibility of a structure element being one out of several possible types. Each OCC function that can generate more than one OC type is documented with a list of these possible OC types.