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

What is the best way to port result/value from one script to another?

$
0
0

@P_Thon wrote:

So I have been developing a plugin suite composed of 4 plugins which can be described as different step to obtain the final result.

Basically the user run the first script (Step1), enter the required values and do some modeling and then run the second script(Step2) that get the value entered in step 1 + the new value the user enter. And it's the same for step 3 and step 4.

I suppose some people have already coded something like this and would like to know what’s your technique to transition the different value and result between the steps?

Personally I have been using two methods, each one has its benefit and disadvantage, maybe someone have a better solution:
-writing to text file and reading from it afterwards
-using” rs.SetDocumentData() “and “rs.GetDocumentData()”

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5778

Trending Articles