Wildcard for creating/editing expression across multiple objects


#1

Wildcard for creating/editing expression across multiple objects. I tried various combinations with * but nothing seems to register. Is there a trick to get this to work across multiple objects of almost the same. cube1…2.3.4 etc.


#2

This worked accross 4 cubes as a vb script.
SetExpr “cube*.cube.length”, “4”


#3

The expression is nothing more than a text string wrapped to become (under the hood) a scripted op.

Doing what you mention on an existing expression wouldn’t be possilbe as wildcards need to represent tokens, and expressions in XSI are just text without declared variables, so it would be impossible to know what the token stands for. It would have to offer regular expressions implementation in the fields, which is more trouble than it’s worth.

You can easily automate what you’re talking about through scripting though, some copy and pasting and a quick read of the sdk help can get even the programming uneducated there with very little work for something like this.


#4

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.