The CADLayerVisible function sets layer visible or invisible.
Syntax:
int CADLayerVisible(
HANDLE hObject
int visible
);
Parameters:
hObject  | 
Identifies a layers handle.  | 
visible  | 
Set to zero to hide layer and to nonzero to show the layer.  | 
Return Value:
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastErrorCAD.
See Also
CADCreate | CADLayer | CADLayerCount
© 2003-2025 CADSoftTools
Go to CAD DLL