The GetLayerIDs transaction returns the number of layers on or in the specified page or layer, and a list of their identifiers. Use layerID instead of pageID to request the number and identifiers of CAD layers in an edit layer.
Type XTYP_REQUEST
Syntax [GetLayerIDs(docwinID, pageID | layerID)]
|
Parameter |
Data type |
Values |
Meaning |
|
docwinID |
DWORD |
0 | docwinID |
active | specific |
|
pageID |
DWORD |
0 | pageID |
current | specific |
|
or |
|
|
|
|
layerID |
DWORD |
identifier of an edit layer containing CAD layers | |
|
Reply |
Data type |
Values |
Meaning |
|
count |
WORD |
0 | 1 | 2 | ... |
number of layers on the page, or of CAD layers in the edit layer |
|
layerIDs |
DWORD |
layerID1, layerID2, … |
list of layer identifiers |
Release information
Added in Release 3.50.
See also