Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

Creation
Display
Document Info
Document Modifications
Misc
Reference
Texture Mapping

Gets the list of layers in the active document

Inputs

NameIDDescriptionType
UpdateUSet this value to true to update the layer tableBoolean
Auto-UpdateAUIf this value is set to true, the component will listen for changes to the layer table, and automatically update each time something changes. Use with caution - you can create an infinite loop if you create layers downstream based on outputs from this component.Boolean

Outputs

NameIDDescriptionType
LayersLThe list of layer names in the active documentText
Full Layer PathsLFThe list of layer names in the document, including nesting informationText
Layer ColorsCThe colors of the document LayersColour
LinetypesLTThe list of linetypes associated with the document layersText
Material NamesMThe list of material names associated with the document layersText
VisibleVTrue if layer is visible.Boolean
Print WidthPWThe print widths associated with the document layersNumber
Print ColorPCThe print color for the layerColour

Video Tutorials

Site design © Robin Rodricks.   Human and associated data © 2020 Andrew Heumann.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service