[Missing <summary> documentation for "T:Rhino.DocObjects.Layer"]
Thetype exposes the following members.
Initializes a new instance of theclass
Initializes a new instance of theclass
Gets or sets the display color for this layer.
Gets the full path to this layer. The full path includes nesting information.
Gets true if this class has any custom information attached to it through UserData.(Inherited from CommonObject.)
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.
Gets a value indicating whether this layer has been deleted and is currently in the Undo buffer.
If true this object may not be modified. Any properties or functions that attempt to modify this object when it is set to "IsReadOnly" will throw a NotSupportedException.(Inherited from CommonObject.)
Gets or sets a value indicating whether this layer is expanded in the Rhino Layer dialog.
Gets or sets a value indicating the locked state of this layer.
Gets a value indicting whether this layer is a referenced layer. Referenced layers are part of referenced documents.
Tests an object to see if it is valid.(Inherited from CommonObject.)
Gets or sets the visibility of this layer.
Gets or sets the index of this layer.
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 origanized 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.
Gets or sets the thickness of the plotting pen in millimeters. A thickness of 0.0 indicates the "default" pen weight should be used.
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.
Runtime index used to sort layers in layer dialog.
List of custom information that is attached to this class.(Inherited from CommonObject.)
Dictionary of custom information attached to this class. The dictionary is actually user data provided as an easy to use sharable set of information.(Inherited from CommonObject.)
Gets the amount of user strings.
Assigns a parent object and a subobject index to this.(Inherited from CommonObject.)
Sets layer to default settings.
Actively reclaims unmanaged resources that this instance uses.(Inherited from CommonObject.)
For derived class implementers.(Inherited from CommonObject.)
This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method.
You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true.
Also, you must call the base virtual method within your overriding method.
If you want to keep a copy of this class around by holding onto it in a variable after a command completes, call EnsurePrivateCopy to make sure that this class is not tied to the document. You can call this function as many times as you want.(Inherited from CommonObject.)
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().(Inherited from CommonObject.)
Gets immediate children of this layer. Note that child layers may have their own children.
Constructs a layer with the current default properties. The default layer properties are:
color = Rhino.ApplicationSettings.AppearanceSettings.DefaultLayerColor
line style = Rhino.ApplicationSettings.AppearanceSettings.DefaultLayerLineStyle
material index = -1
iges level = -1
mode = NormalLayer
name = empty
layer index = 0 (ignored by AddLayer)
Serves as the default hash function.(Inherited from Object.)
Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.(Inherited from CommonObject.)
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 persistent visbility setting is used for layers whose visibilty 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.
Gets the Type of the current instance.(Inherited from Object.)
Gets user string from this geometry.
Gets a copy of all (user key string, user value string) pairs attached to this geometry.
Determines if a given string is valid for a layer name.
Determines if an object is valid. Also provides a report on errors if this object happens not to be valid.(Inherited from CommonObject.)
Creates a shallow copy of the current Object.(Inherited from Object.)
For derived classes implementers.(Inherited from CommonObject.)
Defines the necessary implementation to free the instance from being const.
Is called when a non-const operation first occurs.(Inherited from CommonObject.)
Set the persistent locking setting for this layer
Set the persistent visibility setting for this layer
Attach a user string (key,value combination) to this geometry.
Remove any explicity persistent locking settings from this layer
Remove any explicit persistent visibility setting from this layer