ScriptSpot

Forum topic · General Scripting

Noob needs help

By Christian Ehrich · 2016-11-06

Description

Hey,

i am not just pretty new to Max scripting, i am really inexperienced when it comes to coding in general.
Essentially i need a small script that allows me to copy predefined Values into the user properties. Any tips how to get there?

Thanks

Chris

Comments (1)

.

miauu · 2016-11-07


setUserProp <node> <key_string> <value>

Sets the node's user property with the given key to the given value.

For example, to write in the user defined propertis the height of the box001 object use this:


setUserProp $Box001 "Height" 100.0