SOLVED Can I get to the SpaceCenter InputText strings from Python?
-
The strings are set in the Preferences panel / Space Center / Input Text. I would like to read them with the Pythons?
-
I didn't know about spaceCenterInputSamples and managed to get at them through the space center window itself. I should probably look at updating these:
https://gist.github.com/okay-type/6e36bfd93e938f5f98253ab31a27f24e
https://gist.github.com/okay-type/85e6f60fc35092d5a6249ee26b2bdd4c
-
hello @erik,
the Space Center input strings are stored in a setting named
spaceCenterInputSamples
:from mojo.UI import getDefault for inputString in getDefault('spaceCenterInputSamples'): print(inputString)
all settings in the Preferences window (and some more) are also available in the Preferences Editor, where you can see how they are named.
cheers!