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