Gets the full path to this layer. The full path includes nesting information.
Gets or sets the ID of this layer object. You typically do not need to assign a custom ID.
Gets or sets the IGES level for this layer.
Tests an object to see if it is valid.
...
Gets or sets the line-type index for this layer.
Gets or sets the name of this layer.
Gets the ID of the parent layer. Layers can be organized in a hierarchical structure, in which case this returns the parent layer ID. If the layer has no parent, Guid.Empty will be returned.
Gets or sets the plot color for this layer in js object format: {r:number, g:number, b:number)} where number is from 0 - 255
Gets or sets the weight of the plotting pen in millimeters. A weight of 0.0 indicates the "default" pen weight should be used. A weight of -1.0 indicates the layer should not be printed.
Gets or sets the index of render material for objects on this layer that have MaterialSource() == MaterialFromLayer. A material index of -1 indicates no material has been assigned and the material created by the default Material constructor should be used.
Gets the amount of user strings.
If not Guid.Empty, then the setting for this viewport will be deleted. If Guid.Empty, the all per viewport layer color settings will be removed.
Remove any per viewport layer color setting so the layer's overall setting will be used for all viewports.
The persistent locking setting is used for layers that can be locked by a "parent" object. A common case is when a layer is a child layer (Layer.ParentI is not nil). In this case, when a parent layer is locked, then child layers are also locked. The persistent locking setting determines what happens when the parent is unlocked again.
The global persistent visibility setting is used for layers whose visibility can be changed by a "parent" object. A common case is when a layer is a child layer (ParentId is not nil). In this case, when a parent layer is turned off, then child layers are also turned off. The persistent visibility setting determines what happens when the parent is turned on again.
If not Guid.Empty, then checks for settings for that specific viewport. If Guid.Empty, then checks for any viewport settings.
True if the layer has per viewport settings, false otherwise.
Verifies that a layer has per viewport settings.
If not Guid.Empty, then the setting applies only to the viewport with the specified id.
The display color in js object format: {r:number, g:number, b:number)} where number is from 0 - 255
Gets the display color for this layer.
If not Guid.Empty, then the setting applies only to the viewport with the specified id.
The display color in js object format: {r:number, g:number, b:number)} where number is from 0 - 255
Sets the display color for this layer.
Static
decodeA json formatted object in the following format (values are orientative):
{
version: 10000,
archive3dm: 60,
opennurbs: -1877964208,
data: 'encoded 3dm object data'
}
Decodes a Rhino Object
Generated using TypeDoc
Gets or sets the display color for this layer in js object format: {r:number, g:number, b:number)} where number is from 0 - 255