Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

How to check what .keys exist on Document User Text?

$
0
0

Hi,

I am setting document user text via python using a runpythonscript command
sc.doc.Strings.SetString(key, str(value))

But after running a few such commands, how do I check what .keys exist in the Document? As usual .keys are not exposed on the UI.

There is no way to plug a document into grasshopper’s user text component (which is what I usually use to see the .keys on model objects). The field expressions component only gives values for keys, it would be nice if I can also retrieve a list of all keys on the Document User Text.

5 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles