CFx SDK Documentation
2022 SP0
|
#include <DbLayerTableRecord.h>
Static Public Member Functions | |
static bool | isHidden (const OdDbObjectId &idLayer) |
static bool | isReconciled (const OdDbObjectId &idLayer) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Additional Inherited Members | |
Protected Member Functions inherited from OdDbObject | |
OdDbObject () | |
virtual OdDbObjectPtr | subDeepClone (OdDbIdMapping &ownerIdMap, OdDbObject *pOwner, bool bPrimary) const |
virtual OdDbObjectPtr | subWblockClone (OdDbIdMapping &ownerIdMap, OdDbObject *pOwner, bool bPrimary) const |
Protected Member Functions inherited from OdGiDrawable | |
OdGiDrawable () | |
virtual OdUInt32 | subViewportDrawLogicalFlags (OdGiViewportDraw *vd) const |
virtual OdUInt32 | subRegenSupportFlags () const |
Protected Attributes inherited from OdDbObject | |
OdDbObjectImpl * | m_pImpl |
<group OdDb_Classes>
This class implements the layer record object, which represents a layer in the database. This class inherits the base functionality of named records.
<link db_layer_sample_record.html, Example of Working with the Layer Record Object>
OdDbLayerTable class
Definition at line 56 of file DbLayerTableRecord.h.
Definition at line 70 of file DbLayerTableRecord.h.
OdDbLayerTableRecord::OdDbLayerTableRecord | ( | ) |
Builds an instance of the layer record object.
OdCmColor OdDbLayerTableRecord::color | ( | ) | const |
Returns the color for the layer record object (DXF 62). This color is used when the Color property of an entity belonged to the layer is set to byLayer value. The actual color value can depend on the viewport in which the entity is rendered.
OdCmColor OdDbLayerTableRecord::color | ( | const OdDbObjectId & | viewportId, |
bool * | pIsOverride = 0 |
||
) | const |
Returns the color for the layer record object (DXF 62). This color is used when the Color property of an entity belonged to the layer is set to byLayer value. The actual color value can depend on the viewport in which the entity is rendered.
viewportId | [in] Object ID of the viewport for which the color value should be obtained. |
pIsOverride | [out] Pointer to the Boolean variable in which this method saves the result: True if it is the specific color previously specified for the viewport, or False if it is own color and the layer does not store a color for the specified viewport. |
OdInt16 OdDbLayerTableRecord::colorIndex | ( | ) | const |
Returns the color index for the layer record object (DXF 62). When the color method is set to byColor, this method returns an equivalent color index.
OdString OdDbLayerTableRecord::description | ( | ) | const |
Returns the description for the layer record object.
|
virtual |
Returns a pointer to the OdGiDrawable for the object. If the object doesn't have an associated OdGiDrawable object, this function returns NULL.
Reimplemented from OdDbObject.
|
virtual |
Reads the .dwg file data of this object.
pFiler | [in] Filer object from which data are read. |
This function is called by dwgIn() to allow the object to read its data.
When overriding this function:
1) Call assertWriteEnabled(). 2) Call the parent class's dwgInFields(pFiler). 3) If it returns eOK, continue; otherwise return whatever the parent's dwgInFields(pFiler) returned. 4) Call the OdDbDwgFiler(pFiler) methods to read each of the object's data items in the order they were written. 5) Return pFiler->filerStatus().
Reimplemented from OdDbSymbolTableRecord.
|
virtual |
Writes the .dwg file data of this object.
pFiler | [in] Pointer to the filer to which data are written. |
This function is called by dwgIn() to allow the object to write its data.
When overriding this function:
1) Call assertReadEnabled(). 2) Call the parent class's dwgOutFields(pFiler). 3) Call the OdDbDwgFiler(pFiler) methods to write each of the object's data items in the order they were written.
Reimplemented from OdDbSymbolTableRecord.
|
virtual |
Reads the DXF data of this object.
pFiler | [in] Pointer to the filer from which data are read. |
This function is called by dxfIn() to allow the object to read its data.
When overriding this function:
1) Call assertWriteEnabled(). 2) Call the parent class's dwgInFields(pFiler). 3) If it returns eOK, continue; otherwise return whatever the parent's dxfInFields(pFiler) returned. 4) Call the OdDbDxfFiler(pFiler) methods to read each of the object's data items in the order they were written. 5) Return pFiler->filerStatus().
Reimplemented from OdDbSymbolTableRecord.
|
virtual |
Reads the DXF R12 format data of this object.
pFiler | [in] Pointer to the filer from which data are to be read. |
This function is called by dxfIn() to allow the object to read its data.
When overriding this function:
1) Call assertWriteEnabled(). 2) Call the parent class's dxfInFields_R12(pFiler). 3) If it returns eOK, continue; otherwise return whatever the parent's dxfOutFields_R12(pFiler) returned. 4) Call the OdDbDxfFiler(pFiler) methods to read each of the object's data items in the order they were written. 5) Return pFiler->filerStatus().
Reimplemented from OdDbObject.
|
virtual |
Writes the DXF data of this object.
pFiler | [in] Pointer to the filer to which data are to be written. |
This function is called by dxfOut() to allow the object to write its data.
When overriding this function:
1) Call assertReadEnabled(). 2) Call the parent class's dxfOutFields(pFiler). 4) Use pFiler to call the OdDbDxfFiler methods to write each of the object's data items in the order they were written.
Reimplemented from OdDbSymbolTableRecord.
|
virtual |
Writes the DXF data of this object.
pFiler | [in] Pointer to the filer to which data are to be written. |
This function is called by dxfOut() to allow the object to write its data.
When overriding this function:
1) Call assertReadEnabled(). 2) Call the parent class's dxfOutFields(pFiler). 3) Use pFiler to call the OdDbDxfFiler methods to write each of the object's data items in the order they were written.
Reimplemented from OdDbSymbolTableRecord.
bool OdDbLayerTableRecord::hasAnyOverrides | ( | ) | const |
bool OdDbLayerTableRecord::hasOverrides | ( | const OdDbObjectId & | idViewport | ) | const |
bool OdDbLayerTableRecord::isFrozen | ( | ) | const |
Determines whether the layer record object is invisible and accessible for regenerating, printing, selecting, and editing (DXF 70, bit 0x01) and returns True if the layer is frozen or False if the layer is thawed.
bool OdDbLayerTableRecord::isHidden | ( | ) | const |
Determines whether the layer record object is displayed for the host application and returns True if the layer is hidden or False if the layer is shown.
|
static |
Determines whether the layer record object is displayed for the host application and returns True if the layer is hidden or False if the layer is shown.
bool OdDbLayerTableRecord::isInUse | ( | ) | const |
Determines whether the layer record object is in-use when the generateUsageData() method
is called and returns True if the layer is in-use, or False if the layer is not use.
bool OdDbLayerTableRecord::isLocked | ( | ) | const |
Determines whether the layer record object is accessible for selecting and editing (DXF 70, bit 0x04) and returns True if the layer is locked or False if the layer is editable.
bool OdDbLayerTableRecord::isOff | ( | ) | const |
Determines whether the layer record object is invisible (DXF 62, negative is off, positive is on) and returns True if the layer is off (invisible) or False if the layer is on (visible).
bool OdDbLayerTableRecord::isPlottable | ( | ) | const |
Determines whether the layer record object is accessible for printing (DXF 290) and returns True if the layer is plottable or False if the layer is unplottable.
bool OdDbLayerTableRecord::isReconciled | ( | ) | const |
Determines whether the layer record object is reconciled with another object and returns True if the layer is reconciled, or False if the layer is not reconciled.
|
static |
Determines whether the layer record object is reconciled with another object and returns True if the layer is reconciled, or False if the layer is not reconciled.
OdDbObjectId OdDbLayerTableRecord::linetypeObjectId | ( | ) | const |
Returns the ID of the linetype record object associated with the layer record object (DXF 6), or OdDb::kNULL when the layer is not associated with linetype. This linetype is used when the Linetype property of an entity belonged to this layer is set to ByLayer value. The actual linetype can depend on the viewport in which the entity is rendered.
OdDbObjectId OdDbLayerTableRecord::linetypeObjectId | ( | const OdDbObjectId & | idViewport, |
bool * | pIsOverride = 0 |
||
) | const |
Returns the ID of the linetype record object associated with the layer record object (DXF 6), or OdDb::kNULL when the layer is not associated with linetype. This linetype is used when the Linetype property of an entity belonged to this layer is set to ByLayer value. The actual linetype can depend on the viewport in which the entity is rendered.
idViewport | [in] Object ID of the viewport for which the linetype ID should be obtained. |
pIsOverride | [out] Pointer to the Boolean variable in which this method saves the result: True if it is the specific linetype previously specified for the viewport, or False if it is own linetype and the layer does not store a linetype for the specified viewport. |
OdDb::LineWeight OdDbLayerTableRecord::lineWeight | ( | ) | const |
Returns the lineweight of the layer record object (DXF 370). This lineweight is used when
the Lineweight property of an entity belonged to this layer is set to ByLayer value. The actual lineweight can depend on the viewport in which the entity is rendered.
OdDb::LineWeight OdDbLayerTableRecord::lineWeight | ( | const OdDbObjectId & | idViewport, |
bool * | pIsOverride = 0 |
||
) | const |
Returns the lineweight of the layer record object (DXF 370). This lineweight is used when
the Lineweight property of an entity belonged to this layer is set to ByLayer value. The actual lineweight can depend on the viewport in which the entity is rendered.
idViewport | [in] Object ID of the viewport for which the lineweight should be obtained. |
pIsOverride | [out] Pointer to the Boolean variable in which this method saves the result: True if it is the specific lineweight previously specified for the viewport, or False if it is own lineweight and the layer does not store a lineweight for the specified viewport. |
OdDbObjectId OdDbLayerTableRecord::materialId | ( | ) | const |
Returns the ID of the material object associated with the layer record object (DXF 347) or OdDb::kNULL when the layer is not associated with material. This material is used when the Material property of an entity belonged to this layer is set to ByLayer value.
OdDbLayerTableRecord::ODDB_DECLARE_MEMBERS | ( | OdDbLayerTableRecord | ) |
OdString OdDbLayerTableRecord::plotStyleName | ( | ) | const |
Retuns the name of the plot style associated with the layer record object (DXF 390). This plot style is used when the PlotStyle property of an entity belonged to this layer is set to ByLayer value. The actual plot style can depend on the viewport in which the entity is rendered.
OdDbLayerTableRecord::plotStyleNameId(), OdDbLayerTableRecord::setPlotStyleName() methods
OdString OdDbLayerTableRecord::plotStyleName | ( | const OdDbObjectId & | idViewport, |
bool * | pIsOverride = 0 |
||
) | const |
Retuns the name of the plot style associated with the layer record object (DXF 390). This plot style is used when the PlotStyle property of an entity belonged to this layer is set to ByLayer value. The actual plot style can depend on the viewport in which the entity is rendered.
idViewport | [in] Object ID of the viewport for which the plot style ID should be obtained. |
pIsOverride | [out] Pointer to the Boolean variable in which this method saves the result: True if it is the specific plot style previously specified for the viewport, or False if it is own plot style and the layer does not store a plot style for the specified viewport. |
OdDbLayerTableRecord::plotStyleNameId(), OdDbLayerTableRecord::setPlotStyleName() methods
OdDbObjectId OdDbLayerTableRecord::plotStyleNameId | ( | ) | const |
Returns the ID of the plot style object associated with the layer record object (DXF 390) or OdDb::kNULL when the layer is not associated with plot style. This plot style is used when the PlotStyle property of an entity belonged to this layer is set to ByLayer value. The actual plot
style can depend on the viewport in which the entity is rendered.
OdDbLayerTableRecord::plotStyleName(), OdDbLayerTableRecord::setPlotStyleName() methods
OdDbObjectId OdDbLayerTableRecord::plotStyleNameId | ( | const OdDbObjectId & | idViewport, |
bool * | pIsOverride = 0 |
||
) | const |
Returns the ID of the plot style object associated with the layer record object (DXF 390) or OdDb::kNULL when the layer is not associated with plot style. This plot style is used when the PlotStyle property of an entity belonged to this layer is set to ByLayer value. The actual plot
style can depend on the viewport in which the entity is rendered.
idViewport | [in] Object ID of the viewport for which the plot style ID should be obtained. |
pIsOverride | [out] Pointer to the Boolean variable in which this method saves the result: True if it is the specific plot style previously specified for the viewport, or False if it is own plot style and the layer does not store a plot style for the specified viewport. |
OdDbLayerTableRecord::plotStyleName(), OdDbLayerTableRecord::setPlotStyleName() methods
void OdDbLayerTableRecord::removeAllOverrides | ( | ) |
void OdDbLayerTableRecord::removeColorOverride | ( | const OdDbObjectId & | idViewport | ) |
void OdDbLayerTableRecord::removeLinetypeOverride | ( | const OdDbObjectId & | idViewport | ) |
void OdDbLayerTableRecord::removeLineWeightOverride | ( | const OdDbObjectId & | idViewport | ) |
void OdDbLayerTableRecord::removePlotStyleOverride | ( | const OdDbObjectId & | idViewport | ) |
void OdDbLayerTableRecord::removeTransparencyOverride | ( | const OdDbObjectId & | idViewport | ) |
void OdDbLayerTableRecord::removeViewportOverrides | ( | const OdDbObjectId & | idViewport | ) |
Sets the color for the layer record object (DXF 62). This color is used when the Color property of an entity belonged to this layer is set to byLayer value. The initial value is Foreground (index 7) by default. The same entity can be rendered using different colors in different viewports.
cmColor | [in] Reference to the color instance to be set. |
<link cm.html, Colors and Transparencies>
void OdDbLayerTableRecord::setColor | ( | const OdCmColor & | cmColor, |
const OdDbObjectId & | idViewport | ||
) |
Sets the color for the layer record object (DXF 62). This color is used when the Color property of an entity belonged to this layer is set to byLayer value. The initial value is Foreground (index 7) by default. The same entity can be rendered using different colors in different viewports.
cmColor | [in] Reference to the color instance to be set. |
idViewport | [in] Object ID of the viewport in which the layer must have the specific color. |
<link cm.html, Colors and Transparencies>
Sets the color index for the layer record object (DXF 62) as an Integer value. The initial
value is 7 (Foreground) by default.
idxColor | [in] Color index in range 1 to 255. |
Sets the description for the layer record object as a String value up to 255 letters length. The initial value is an empty string.
sDescription | [in] Description as a String value. |
void OdDbLayerTableRecord::setIsFrozen | ( | bool | bStatus | ) |
Sets the Freeze status as a Boolean value (DXF 70, bit 0x01). The initial value is False (Thawed) by default.
bStatus | [in] True - to freeze the layer, or False - to thaw the layer. |
void OdDbLayerTableRecord::setIsHidden | ( | bool | bStatus | ) |
Sets the Hidden status as a Boolean value. The initial value is False (Shown) by default.
bStatus | [in] True - to hide the layer, or False - to show the layer. |
void OdDbLayerTableRecord::setIsLocked | ( | bool | bStatus | ) |
Sets the Lock status as a Boolean value (DXF 70, bit 0x04). The initial value is False (Editable) by default.
bStatus | [in] True - to lock the layer, or False - to unlock the layer. |
void OdDbLayerTableRecord::setIsOff | ( | bool | bStatus | ) |
Sets the On-Off status as a Boolean value (DXF 62). The initial value is False (Visible) by default.
bStatus | [in] True - to make the layer invisible (off), or False - to make the layer visible (on). |
void OdDbLayerTableRecord::setIsPlottable | ( | bool | bStatus | ) |
Sets the Plot status as a Boolean value (DXF 290). The initial value is True (Plottable) by default.
bStatus | [in] True - to make the layer plottable, or False - to make the layer no plottable. |
Sets the Reconcile status as a Boolean value.
bStatus | [in] True - to set the Reconcile status, or False - to clear the Reconcile status. |
void OdDbLayerTableRecord::setLinetypeObjectId | ( | const OdDbObjectId & | idLinetype, |
const OdDbObjectId & | idViewport | ||
) |
Sets the ID of the linetype record object for the layer record object (DXF 6) as an ObDbObjectId instance. This method associates layer and linetype. This linetype is used when the Linetype property of an entity belonged to this layer is set to ByLayer value. The initial value associates the layer with the "Continuous" linetype by default. The same entity can be rendered using different linetypes in different viewports.
idLinetype | [in] Object ID of the linetype record object to associate it with the layer, or OdDb::kNull to disassociate the layer and linetype. |
idViewport | [in] Object ID of the viewport in which the layer must have the specific linetype. |
void OdDbLayerTableRecord::setLinetypeObjectId | ( | OdDbObjectId | idLinetype | ) |
Sets the ID of the linetype record object for the layer record object (DXF 6) as an ObDbObjectId instance. This method associates layer and linetype. This linetype is used when the Linetype property of an entity belonged to this layer is set to ByLayer value. The initial value associates the layer with the "Continuous" linetype by default. The same entity can be rendered using different linetypes in different viewports.
idLinetype | [in] Object ID of the linetype record object to associate it with the layer, or OdDb::kNull to disassociate the layer and linetype. |
void OdDbLayerTableRecord::setLineWeight | ( | OdDb::LineWeight | kLnWtEnum | ) |
Sets the lineweight for the layer record object (DXF 370). This lineweight is used when the Lineweight property of an entity belonged to this layer is set to ByLayer value. The initial value is kLnWtByLwDefault by default. The same entity can be rendered using different lineweights in different viewports.
kLnWtEnum | [in] Lineweight (value of the enumerator). |
void OdDbLayerTableRecord::setLineWeight | ( | OdDb::LineWeight | kLnWtEnum, |
const OdDbObjectId & | idViewport | ||
) |
Sets the lineweight for the layer record object (DXF 370). This lineweight is used when the Lineweight property of an entity belonged to this layer is set to ByLayer value. The initial value is kLnWtByLwDefault by default. The same entity can be rendered using different lineweights in different viewports.
kLnWtEnum | [in] Lineweight (value of the enumerator). |
idViewport | [in] Object ID of the viewport in which the layer must have the specific lineweight. |
void OdDbLayerTableRecord::setMaterialId | ( | OdDbObjectId | idMaterial | ) |
Sets the ID of the material object for the layer record object (DXF 347) as an ObDbObjectId instance. This method associates layer and material. The initial value associates the layer with the "Global" material by default.
idMaterial | [in] Object ID of the material object to associate it with the layer, or OdDb::kNull to disassociate the layer and material. |
void OdDbLayerTableRecord::setPlotStyleName | ( | const OdDbObjectId & | idPlotStyle, |
const OdDbObjectId & | idViewport | ||
) |
Sets the ID of the place holder object for the layer record object (DXF 390). This method associates layer and plot style. The ID is an ObDbObjectId instance. This plot style is used when the PlotStyle property of an entity belonged to this layer is set to ByLayer value. The same entity can be rendered using different plot styles in different viewports.
idPlotStyle | [in] Object ID of the place holder object to associate it with the layer, or OdDb::kNull to disassociate the layer and plot style. |
idViewport | [in] Object ID of the viewport in which the layer must have the specific plot style. |
<link OdDbPlaceHolder, OdDbPlaceHolder class>
<link !!OVERLOADED_plotStyleName_OdDbLayerTableRecord, OdDbLayerTableRecord::plotStyleName()>, <link !!OVERLOADED_plotStyleNameId_OdDbLayerTableRecord, OdDbLayerTableRecord::plotStyleNameId()> methods
Sets the name of the place holder object for the layer record object (DXF 390). This method associates layer and plot style. The name is an OdString instance. This plot style is used when the PlotStyle property of an entity belonged to this layer is set to ByLayer value. The same entity can be rendered using different plot styles in different viewports.
sPlotStyleName | [in] Plot style name as non-empty string. |
<link OdDbPlaceHolder, OdDbPlaceHolder class>
<link !!OVERLOADED_plotStyleName_OdDbLayerTableRecord, OdDbLayerTableRecord::plotStyleName()>, <link !!OVERLOADED_plotStyleNameId_OdDbLayerTableRecord, OdDbLayerTableRecord::plotStyleNameId()> methods
void OdDbLayerTableRecord::setPlotStyleName | ( | const OdString & | sPlotStyleName, |
const OdDbObjectId & | idViewport | ||
) |
Sets the name of the place holder object for the layer record object (DXF 390). This method associates layer and plot style. The ID is an ObDbObjectId instance, the name is an OdString instance. This plot style is used when the PlotStyle property of an entity belonged to this layer is set to ByLayer value. The same entity can be rendered using different plot styles in different viewports.
sPlotStyleName | [in] Plot style name as non-empty string. |
idViewport | [in] Object ID of the viewport in which the layer must have the specific plot style. |
<link OdDbPlaceHolder, OdDbPlaceHolder class>
<link !!OVERLOADED_plotStyleName_OdDbLayerTableRecord, OdDbLayerTableRecord::plotStyleName()>, <link !!OVERLOADED_plotStyleNameId_OdDbLayerTableRecord, OdDbLayerTableRecord::plotStyleNameId()> methods
void OdDbLayerTableRecord::setPlotStyleName | ( | OdDbObjectId | idPlotStyle | ) |
Sets the ID of the place holder object for the layer record object (DXF 390). This method associates layer and plot style. The ID is an ObDbObjectId instance. This plot style is used when the PlotStyle property of an entity belonged to this layer is set to ByLayer value. The same entity can be rendered using different plot styles in different viewports.
idPlotStyle | [in] Object ID of the place holder object to associate it with the layer, or OdDb::kNull to disassociate the layer and plot style. |
<link OdDbPlaceHolder, OdDbPlaceHolder class>
<link !!OVERLOADED_plotStyleName_OdDbLayerTableRecord, OdDbLayerTableRecord::plotStyleName()>, <link !!OVERLOADED_plotStyleNameId_OdDbLayerTableRecord, OdDbLayerTableRecord::plotStyleNameId()> methods
OdResult OdDbLayerTableRecord::setTransparency | ( | const OdCmTransparency & | cmTransparency | ) |
Sets the transparency for the layer record object (as XData) and returns eOk if successful. This transparency is used when the Transparency property of an entity belonged to this layer is set to byLayer value. The initial value is byAlpha = 100% value (solid) by default. The same entity can be rendered using different transparencies in different viewports.
cmTransparency | [in] Reference to the transparency instance to be set as an Alpha-value in range 1 to 255. |
<link cm.html, Colors and Transparencies>
void OdDbLayerTableRecord::setTransparency | ( | const OdCmTransparency & | cmTransparency, |
const OdDbObjectId & | idViewport | ||
) |
Sets the transparency for the layer record object (as XData). This transparency is used when the Transparency property of an entity belonged to this layer is set to byLayer value. The initial value is byAlpha = 100% value (solid) by default. The same entity can be rendered using different transparencies in different viewports.
cmTransparency | [in] Reference to the transparency instance to be set as an Alpha-value in range 1 to 255. |
idViewport | [in] Object ID of the viewport in which the layer must have the specific transparency. |
<link cm.html, Colors and Transparencies>
void OdDbLayerTableRecord::setVPDFLT | ( | bool | bStatus | ) |
Sets the Freeze status in new viewports for the layer as a Boolean value (DXF 70, bit 0x02).
bStatus | [in] True - to specify the frozen layers for new viewports, or False - to specify the thawed layers for new viewports. |
|
virtual |
Called as the first operation as this object is being erased or unerased.
erasing | [in] A copy of the erasing argument passed to erase(). |
Returns eOk if and only if erase() is to continue.
When overriding this function:
1) If the OdDbObject's state is incorrect, return something other than eOk.
2) If the parent class's subErase() returns anything other than eOk, immediately return it.
3) If other actions are required before erase, do them.
4) Return eOk.
If you must make changes to this object's state, either make them after step 2, or roll them back if step 2 returns other than eOk.
The default implementation of this function does nothing but return eOk. This function can be overridden in custom classes.
Reimplemented from OdDbSymbolTableRecord.
Reimplemented from OdDbObject.
|
virtual |
Sets the values of this object's subentity traits, and returns with the calling object's subentity traits.
pTraits | [in] Pointer to the OdGiDrawableTraits object to be set. |
A derived class may not remove flags for any reason.
The default implementation does nothing but returns kDrawableNone. This function can be overridden in custom classes.
Reimplemented from OdDbObject.
|
virtual |
Reimplemented from OdDbObject.
|
virtual |
Reimplemented from OdDbObject.
OdCmTransparency OdDbLayerTableRecord::transparency | ( | ) | const |
Returns the transparency for the layer record object (as XData). This transparency is used when the Transparency property of an entity belonged to the layer is set to the byLayer value. The actual transparency value can depend on the viewport in which the entity is rendered.
OdCmTransparency OdDbLayerTableRecord::transparency | ( | const OdDbObjectId & | idViewport, |
bool * | pIsOverride = 0 |
||
) | const |
Returns the transparency for the layer record object (as XData). This transparency is used when the Transparency property of an entity belonged to the layer is set to the byLayer value. The actual transparency value can depend on the viewport in which the entity is rendered.
idViewport | [in] Object ID of the viewport for which the transparency value should be obtained. |
pIsOverride | [out] Pointer to the Boolean variable in which this method saves the result: True if it is the specific transparency previously specified for the viewport, or False if it is own transparency and the layer does not store a transparency for the specified viewport. |
bool OdDbLayerTableRecord::VPDFLT | ( | ) | const |
Returns true if and only if the layer is frozen in new viewports (DXF 70, bit 0x02).