Make2D selection childrenlayer

Hi everyone,
I have a problem selecting the sublayers that are created with the “_make2d” command

Unfortunately Rhino 8 does not give me the possibility to name the child layers as I want but places them automatically

I would like to be able to distinctively select the level:

  • Make2D:Visible:Curve
  • Make2D:Nascosto:Curve

import rhinoscriptsyntax as rs
rs.ObjectsByLayer ( “Curve” , True) and rs.LayerChildren (“Visibile”) and rs.ParentLayer (“Make2D”)
rs.ObjectsByLayer ( “Curve” , True) and rs.LayerChildren (“Nascosto”) and rs.ParentLayer (“Make2D”)

Hi Luca,

You can specify the complete path to your layer

objsVisible= rs.ObjectsByLayer("Make2D::Visible::Curve", True)
objsNascosto = rs.ObjectsByLayer("Make2D::Nascosto::Curve", True)

BR!

it works properly,
thanks, LB