Hello,
I’m trying to make a very small script that selects objects based on their layer name in python.
import rhinoscriptsyntax as rs
if run is True:
rs.ObjectsByLayer(layer_name, select=False)
x = layer_name
I thought it would be pretty straightforward but I am very confused right now.
I’d appreciate if you point out any mistakes here.
Thank you.
curves.3dm (24.9 KB)
selectobjectbylayername.gh (4.5 KB)
4 posts - 2 participants