Returns the active layer. The active layer is the one you are working on.
![]() |
---|
DlxApp.GetActiveLayer() |
Return Value
Returns the object DlxLayer corresponding to the layer. Call the IsValid() method to determine if the object is valid.
Example
![]() |
|
---|---|
if (DlxApp.GetActiveLayer().IsValid())
{
DlxApp.Trace("Active layer: %s", DlxApp.GetActiveLayer().GetName());
}
|