AnsweredAssumed Answered

Change object attribute of a leaf shape?

Question asked by afsbrt on May 14, 2018
Latest reply on May 16, 2018 by afsbrt

Hello!

 

I'd like to change an attribute of a leaf shape (flag the attribute "window" as "yes" for window shapes).

I tried creating an object attribute (str, NULL or "no") and then filling it in with this, but without success:

         Window -->
         s('1,'1,0.4)
         t(0,0,-0.25)
         i(window_asset)
         set(window, "yes")

Maybe set() is the wrong function. What would be a better way?

 

After that I thought of using a Python script and try to select all the leaf shapes that are windows. Can you actually select just certain leaf shapes with ce.selection? How would I do that?

 

Cheers

Outcomes