For many to most projects I make dedicated Scripts and Macro’s.
Often this makes me wish for a way to store them inside the Document rather than externally and having to either open them when needed or create Aliases and Buttons for just that project.
What I imagine to be a very useful feature set, is a means to store those tools inside the Document. Lets call it the ScriptBox
In Basis is just like the current way Notes, Linetypes, DimensionStyles, etc can be (defined) and saved inside the file.
My quick brainstorm on how this should function GUI wise is to have a panel to manage, create, edit, load, export, and run various text-based automations.
One can create a new item
- New Macro
- New VBScript
- New PythonScript
One can select them from a list and Edit or Run them. Load or Export them.
Different types of scripts have different colors/icons to easily distinguish between types
and individual items have their own name. Editing is done inside the existing dedicated editors
yet from their they can be saved back into the ScriptBox
A typical workflow would be to start a project and at some point create a script in the Scripteditor.
Yet instead of saving that script to a .rvb or .py on my harddisk, I can also save it in the document.
File -> SaveInFile
This creates it as an item in my ScriptBox.
Next I can select that item in the ScriptBox and hit the run button.
What are your thoughts?
P.S. this reminds me of an old wish; to store display modes inside a file.
eg: sharing files with layouts in custom display modes is currently impossible.