Notifications
Clear all

[Closed] simple syntax

Hi!

Be warned this is a newbie question. But it would benefit my workflow a lot.

I would like to call a selection set and set a property change on those objects. I would also like to do this on a layer.

I guess it’s just two lines of code or maybe even one. I have tried to get the syntax right but, well…

daniel

2 Replies

I could give you the answer but why don’t you post what you’ve tried so far so we can point you in the right direction to learn it rather than just copy-paste.

Hi!

I have figured out how to call a selectionset and do some basic property overrides.

for i in selectionsets[“t”] do
(
i.primaryVisibility = off
i.boxmode = on
)

Doing the same on a layer seems a bit harder. Of course the objects in the layer needs to have their properties being driven by layers and not object.