Grasshopper

algorithmic modeling for Rhino

Creation
Display
Document Info
Document Modifications
Misc
Reference
Texture Mapping
TreeFrog

Create/Modify Layers

Component Index > Human > Document Modifications > Create/Modify Layers

Create and Modify Rhino Layers

Inputs

NameIDDescriptionType
Layer NameLLayer to add or modifyString
Layer ColorCLayer's display colorColour
Layer LinetypeLTThe name of the layer's linetype. A list of available linetypes can be retrieved with the Linetype Table component.String
Layer MaterialMThe name of the layer's render material. Leave as an empty string for the default material.String
VisibilityVTrue if the layer is visible.Boolean
Print WidthPWLayer Print Width. 0.0 = DefaultNumber
Print ColorPCLayer print color.Colour
Delete LayerDSet to true to delete the layerBoolean

Outputs

NameIDDescriptionType
Layer NamesLOn success, the name of the created/modified layer.String
Layer Full PathFPOn success, the full path of the created/modified layer.String

© 2018   Created by Robin Rodricks and Andrew Heumann.   Hosted by

Badges  |  Report an Issue  |  Terms of Service