Forgot password?

Create an account!

Forum

« back

RhinoScript – select objects by type if layer is not locked

Messages

Please log in to write a message.

  • 2. Hanno (Aug 28, 2011 16.38):

    Hi,

    you cannot directly exclude locked or hidden objects from ObjectsByType. However, you can iterate through the resulting object list, check the status for each object (e.g. with IsLayerLocked or IsObjectSelectable) and only further process objects that fit to your needs.

    Hope that helps!

    Hanno

  • 1. timkado (Aug 27, 2011 18.16):

    hi all,
    with arrBox = Rhino.ObjectsByType (18) i want to select all polysurfaces but only if they are not on a locked layer.
    any help appreciated
    thanks

Recommend

Why are these buttons gray?