Share

AcGiFaceData::layerIds

C++

virtual ACDBCORE2D_PORT AcDbObjectId* layerIds() const;

Description

Returns a pointer to an array of LayerTableRecord object IDs, one for each face in the mesh or shell the AcGiFaceData object is used with. If the layerId's data array has not been set, then NULL is returned.

The pointer returned by this function points to the actual array in use by the graphics system, not a copy. Do not free or delete this array unless the array's memory was dynamically allocated and the worldDraw() or viewportDraw() function it's being used within is about to return.

Links

AcGiFaceData

Was this information helpful?