Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Display Script Operator in Pflow? How?

Display Script Operator in Pflow? How?

Anonymous
Not applicable
507 Views
4 Replies
Message 1 of 5

Display Script Operator in Pflow? How?

Anonymous
Not applicable

Can someone explain how to get the Display Script Operator in Pflow show a value? I tried using the default script operator and then tried copy/pasting the line from the max help on Display Script -- "pCont.particleFloat = length(pCont.particleSpeed)*4800" in numerous places in the script and it never worked.

0 Likes
Accepted solutions (1)
508 Views
4 Replies
Replies (4)
Message 2 of 5

kevinvandecar
Community Manager
Community Manager

Hi,

 

I think there might be a little confusion around the context of that example shown. It says in the docs that the example code is assigned to the script operator above the Display Script operator. So this code is not setting anything specifically on the Display Script operator, rather it is setting it's parent.

 

That code is shown in the docs here:

http://help.autodesk.com/view/3DSMAX/2017/ENU/index.html?guid=GUID-CE7FE1D3-E8CA-4AEA-AB49-AC02924DE...

In that section it is describing the "Show Script Data" property. This does work fine on the Display Script operator. for example, you can do this, to change it's display type: $'Display Script 004'.Script_Data_Type = 1. This will set the Display Script operator to be float.

 

It would help if you provided a small script to show the context of where you are trying this and how the PFlow is setup, then we might be able to help further.

 

hope it helps,

kevin

 


Kevin Vandecar
Developer Technical Services
Autodesk Developer Network



0 Likes
Message 3 of 5

Anonymous
Not applicable

what the ???

 

I provided a DETAILED solution days ago, it was marked as solved, now we're back to square 1 ?

0 Likes
Message 4 of 5

Anonymous
Not applicable
Accepted solution

No no no.

 

It was a double post.  When I first submitted the question, the page flickered strangely when I hit Post -- but didn't exit.  So I hit post again... and ended up with a double post.

 

I didn't think the second one (this one) was deletable or I would have done so at the time.

 

I'm all squared away. Thanks.

 

 

 

0 Likes
Message 5 of 5

kevinvandecar
Community Manager
Community Manager

Sorry for the spam. If you have a duplicate post, it's best to notify the moderator to delete it, otherwise it will get escalated into our support system. Sorry again. I will keep this one now because it was escalated.

 

For future... here is the answered post: https://forums.autodesk.com/t5/3ds-max-forum/display-script-operator-in-pflow-how/m-p/6919402/highli...


Kevin Vandecar
Developer Technical Services
Autodesk Developer Network



0 Likes