Save number for RealBox


#1

Hello everyone

I would like to save a number and retrieve it using: RealBox, SetDocumentData and GetDocumentData. But I have several problems:
RealBox returns a number and SetDocumentData not support numbers, only string.
RealBox in default_number not support variables.

Is there a way to do it?

Thanks


Sharing UserData from a dotnet plugin and a C++ plugin
(Steve Baer) #2

Is this for python and are you trying to make it so you use the same number between runs of your script? If that is the case, look at the ‘sticky’ sample in the EditPythonScript editor.


#3

Thanks, this I has solved the problem.