Message 1 of 7
Maxscript Concatenation
Not applicable
08-18-2008
04:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
Can someone give me an explanation of concatenation in maxscript? I always run into trouble with the syntax for this and it takes a long time messing around until I get the correct result. I can't find the answer in the help files.
In this specific case I am trying to write multiple string variables into the user properties of an object, each variable on a new line. I am using the setuserpropbuffer command.
Here is the section of script I am struggling with. I am writing the variables upA and upB into the user properties. I have tried all manner of ways of writing in \r\n to break the line between these but to no effect.
for obj in selection do
(
setuserpropbuffer obj (upA+upB)
)
Thanks
Stuart
Can someone give me an explanation of concatenation in maxscript? I always run into trouble with the syntax for this and it takes a long time messing around until I get the correct result. I can't find the answer in the help files.
In this specific case I am trying to write multiple string variables into the user properties of an object, each variable on a new line. I am using the setuserpropbuffer command.
Here is the section of script I am struggling with. I am writing the variables upA and upB into the user properties. I have tried all manner of ways of writing in \r\n to break the line between these but to no effect.
for obj in selection do
(
setuserpropbuffer obj (upA+upB)
)
Thanks
Stuart