Share

applyCurDwgLayerTableChanges

C++

Acad::ErrorStatus applyCurDwgLayerTableChanges();

File

dbsymtb.h

Description

This function will force AutoCAD to update itself to use any changes made to any layer table records in the drawing currently in the AutoCAD editor.

This function requires that the AcDbLayerTable and all the AcDbLayerTableRecords within it be able to be opened for read. If this is not possible, then the function will return without updating the AutoCAD editor.

Returns Acad::eOk if successful; otherwise, returns whatever ErrorStatus value was returned from the unsuccessful attempt to open the layer table or layer table record.

Was this information helpful?