[Closed] User-Defined Properties and Copy
are user-defined props as set with setUserProp supposed to be copied with the copy() function ?
e.g.
[b]
nodeB = copy nodeA
[/b][b]
cos it doesn’t seem to work for me, works when I manually clone them not via a script.
[/b]
[i]You could write a simple function that uses the following two maxscript commands to copy the userproperties from one node to another.
For example, copyUserPropBuffer <nodea> <nodeb>
getUserPropBuffer[/i] <node> Retrieves the entire user property buffer as a string containing all the user property settings. This is effectively the contents of the User Defined Properties box in the 3ds Max Object Properties dialog
[i]setUserPropBuffer[/i] <node> <string>
Sets the user property buffer to the given string.
yeah i’d done that before posting the question, I was just curious whether it was “normal” for the userprops not to be copied.