variable*

variable*

manue154
Enthusiast Enthusiast
539 Views
2 Replies
Message 1 of 3

variable*

manue154
Enthusiast
Enthusiast

Hello, someone know ho to select a variable string with sign "*" ?

by advance, thanks

 

strArr = filterString maxFileName "_"        -- split each "_" of the sceneName 107_278_v000.max
if strArr.count != 0 do
(
    SceneName = strArr[1]

 

     CamNameTarget = getNodeByName (SceneName"*")  --?????

)

0 Likes
Accepted solutions (1)
540 Views
2 Replies
Replies (2)
Message 2 of 3

Swordslayer
Advisor
Advisor
Accepted solution

You mean like this?

 

execute ("$'" + prefixVariable + "'*") as array

Alternatively, you can loop through objects/prefiltered candidates and use matchPattern with wildcard pattern.

Message 3 of 3

manue154
Enthusiast
Enthusiast

Thanks a lot , it's perfect 🙂

good night

0 Likes