The shortcut to toggle between 3D preview and GDL code in the PARAM-O editor is cmd-P (Mac) ctrl-P (Windows).
the hotkey that toggles the preview on the right side of the editor between the standard graphic preview and the view that shows the underlying GDL code. I can't seem to find where I saw that - video demo or documentation. Anyone know what that hotkey is?
I had to skim through various videos to find this - it doesn't appear to be written down in any documentation that I could find - and even in one video, the presenter just does it without telling us what he is pressing
It's a strange choice for a shortcut, since cmd-P/ctrl-P are the standard "Print" shortcuts. I think it must not have been intended as a user-release thing - maybe more of an Easter Egg / debugging feature - since otherwise there would be a right context menu in the Preview panel to switch between code and preview I would have thought...
You can edit the GDL code... but if you modify the PARAM-O graphic nodes, then the code regenerates. I didn't play further to see if it is possible to paste in some code (e.g., extrusion along a path), and save without touching the graphic part, and keep the pasted code. Etc.
I did confirm the global variable issue brought up in another thread:
where on Mac, all globals are listed as "%ls (%ls)" instead of by their proper names... that in the GDL Code view (cmd-P/ctrl-P) you can confirm that the correct global was selected from the ordered list, until GS sends out a bug fix. So, the workaround in that thread given by Anton Kazmin to count down in his screenshot and select the corresponding element on a Mac can be readily error-checked by toggling to view the code.
One of the forum moderators • AC 26 USA and earlier • macOS Ventura 13.2.1, iMac Pro 10-Core, Radeon Pro Vega 64