Layer library functions

Function Name Description
LA_ChLay Change selection to another layer
LA_DeleteLayerState Deletes the specifed layer state from the current drawing document
LA_DelLayer Delete the contents of a layer
LA_GetAllLayers Find out the names of the 'normal' layers in the drawing normal layers are those which belong to the current drawing.
LA_GetAllLayerStateNames Returns a list of all named layer states in the current drawing document
LA_GetColor Gets the color of the specified layer
LA_GetLayerDesc Get layer description for a layer
LA_IsLayerStateDefined Checks if a given layer state is defined
LA_IsLocked Checks if the specified layer is locked or unlocked.
LA_LayerOn urn a Given set of layer(s) On, Off, Lock, UnLock, Freeze, Thaw them.
LA_LayerToggle Toggle the state of the specified layer from On to Off and back.
LA_mk_c_lyr Create, if necessary, unlock, if necessary and make current layer
LA_RestoreLayerState Restores the settings in the specified named layer state
LA_SaveLayerState Saves the current drawing layer settings under the specified name
LA_SetColor Sets the color of the specified layer
LA_SetLayerDesc Sets the layer description for a layer
LA_SetLType Sets the LineType of the specified layer
LA_SetLWeight Sets the LineWeight of objects in a layer, when not specified