Notifications
Clear all

[Closed] Accesing .time in mesher object

G’day!

I haven’t done much maxscript for a while and for some reason I’m hitting a wall here. Just trying to access the .time parameter in a mesher object through maxscript.

I found it in the docs here but I’m just having trouble getting it working myself –
http://docs.autodesk.com/3DSMAX/16/ENU/MAXScript-Help/index.html?url=files/GUID-10977590-413F-4902-828D-10868459DA47.htm,topicNumber=d30e288807

Could someone point me in the right direction, I’m pretty sure i’m just messing up the syntax…

Thanks!
Pete

5 Replies

where is the problem?

<mesher>.time = ?

get/set syntax

or

getproperty <mesher> #time
setproperty <mesher> #time <value>

the property looks like not animatable, so there is no access as a subanim

Awesome! Thanks man, that works great.
I’m using this –

for i in Selection do (
setproperty i #time 10.0
)

I was getting stuck because I thought I’d have to store mesher first then access the time property. So does that just go through and look for a ‘time’ property on anything under that object?

P.

if only meshers in your selection list the:

selection.time = 10 

has to work

Great! Thanks for the help!