Function ActLayer returns a handle to the currently active layer in a document.
FUNCTION ActLayer : HANDLE;def vs.ActLayer():
return HANDLEFor changing the active layer you can use Layer.
VS Functions: ActiveClass | ActSymDef | GetLName
Availability: from All Versions