CADLayerCount

  Functions >

CADLayerCount

Previous pageReturn to chapter overviewNext page

The CADLayerCount function returns the number of layers in the CAD file.

 

Syntax:

 

int CADLayerCount(

  HANDLE hObject

);

 

 

Parameters:

 

hObject

Identifies the CAD drawing object handle.

 

 

Return Value:

If the function succeeds, the return value is a number of layers in the CAD drawing object specified by hObject.

If the function fails, the return value is zero. To get extended error information, call GetLastErrorCAD.

 

 

See Also

CADCreate  | CADLayer  | CADLayerVisible


© 2003-2024 CADSoftTools

Go to CAD DLL