Share

AcDbDatabase::getCePlotStyleNameId

C++

AcDb::PlotStyleNameType getCePlotStyleNameId(
    AcDbObjectId& id
) const;

Description

This function returns the current entity plot style name type, which can be one of the values in the following table:

AcDb::kPlotStyleNameByLayer Uses the plot style name of the layer table record referenced by the entity
AcDb::kPlotStyleNameByBlock Uses the plot style name of the AcDbBlockReference that displays the entity.
AcDb::kPlotStyleNameIsDictDefault Uses the PlotStyleName dictionary's default entry
AcDb::kPlotStyleNameById Uses the PlotStyleName dictionary entry whose object ID is returned by this function.

If the type is AcDb::kPlotStyleNameById, the id argument is set to the plot style name ID stored in the database's header. If the type is anything else, id is set to kNull.

Parameters

Parameters Description
id Output object ID of the entry in the PlotStyleName dictionary that is the current entity's plot style name

Links

AcDbDatabase Class

Was this information helpful?