Description When changes are made to a FRED model in the GUI, hitting "Apply" or "OK" on a dialog triggers a document "update" cycle that attempts to ensure that all of the dependencies between elements in the model are consistent and properly linked in FRED's internal database. There are actually multiple update routines inside of FRED which have various levels of optimization to address how fast and efficiently model updates are performed. Although the standard update cycle has been thoroughly tested, there have been cases where some functionality gets inadvertently bypassed during the update cycle and leaves the model in an unintended state. The GUI has an option (Tools > Force Immediate Document Update) available to deal with these unintended scenarios that uses a full, unoptimized update cycle. The ForceUpdate subroutine is the script equivalent of the GUI's Force Immediate Document Update option and should only be used as a temporary workaround in the event that the normal Update command is not properly functioning. In the event that you find a scenario where the normal Update command does not work properly, please report it to support@photonengr.com.
Syntax ForceUpdate( )
Parameters No parameters are required.
See Also
|