F
FGR Dual Evaluation Capability
The Shell environment variable, FGR_DUAL_EVAL_ON, enables the FGR dual evaluation capability. When the FGR dual evaluation capability is enabled, we can differentiate between drag and drag-finished state of the command and accordingly execute the FGR drawing code. The return value of the vfoIsCommandInDragMode function can be used to determine which evaluation code will be used during FGR creation or editing.
The example below depicts the FGR dual evaluation capability and shows the effect of the drag operation on geometries when the FGR dual evaluation capability is enabled and disabled.
When the FGR_DUAL_EVAL_ON Shell environment variable and the vfoIsCommandInDragMode function are not used (the FGR dual evaluation capability is disabled) full geometry evaluation occurs during the drag operation, as shown in the figure below.

When the FGR_DUAL_EVAL_ON Shell environment variable and the vfoIsCommandInDragMode function are used together (the FGR dual evaluation capability is enabled) a custom code can be written to control the drawing of FGR during the drag and when the drag finishes. The FGR evaluation happens with limited number of geometries, such as no contacts drawn, during the drag operation as shown in the figure below. Full geometry evaluation occurs when the drag operation completes.

Return to top