Hello,
I’m working on a script that tries to automate several processes and provide the user with a minimalist interface.
- I have a globally defined variable called “unique_name” that holds the users login info (psuedo login implemented). I store the information with:
[VarSet,unique_name,[StrAsk,"<subject ID>",“Please enter subject ID”]]
However, when I set the variable at logout with: [VarSet,unique_name,“undefined”] it doesn’t change what’s in the string. Both the login/logout are triggered by separate buttons.
-
I’m trying to get my model to load in a particular state with the proper SubTool activated. However, calling: [IPress,Tool:SubTool:Sub1] doesn’t always work. Sometimes it selects Sub1, sometimes it goes to Sub2. I tried saving the tool in a state I want it to be when loaded, but it doesn’t seem to honor the changes made to the SubTools and their visibility.
-
similar to the above, when hiding/showing a SubTool the numbers seem to change. For example, I turn off Sub2 and get: [IModSet,Tool:SubTool:Sub2,3] from the recorder. I unhide the subtool and get: [IModSet,Tool:SubTool:Sub2,10]. Finally, I hide it again and get: [IModSet,Tool:SubTool:Sub2,2]. For this, I’m just trying to find a way that I can hide/unhide subtools on the fly.
-
is there a way in which I can prevent the standard ZBrush commands from wiping out my NoteBar? I want to add a message that stays in the NoteBar (or anywhere) and change only when I tell it to. I want to avoid doing the “script reload” trick since I have a lot of variables/buttons/etc.
Any ideas or possible workarounds I could use to get around these. I haven’t tried memory blocks for the strings yet, but any other tips would be greatly appreciated.
Thanks
E.