Reply To: GLOB_​​​ changes

Home Forums Problems and solutions in GDL Others GLOB_​ changes Reply To: GLOB_​​ changes

#2212
Gergely Fehér
Keymaster

Bruce,
There is no workaround for automatical locking of parameters when settings dialog is closed. We do not want to support this kind of workflow, as this can cause other problems in the program. As we declared earlier – before the release of 19 – context and view dependent information must not be used in parameter script.
Instead of automatic locking, all the objects parameters should be controlled by the script writer: GLOB_MODPAR_NAME, parameters and values commands enables the developer to take control of the possible parameter values and ranges, so in a well written library part geometry should not fail by a user setting.

Barry,
The other mentioned problem – GLOB_CONTEXT in the editor – is not the same! We don’t think that “invalid” values should be set in the editor – for these problems you should use the xml source format with the “meaning” technology built in the lp_xmlconverter, which provides the correct values of all parameters in all cases.

Gergely Fehér
Team Leader, Library Team
GRAPHISOFT SE