Parameters |
Description |
const OdDbObjectId& idViewport |
[in] Object ID of the viewport for which the lineweight should be obtained. |
bool* pIsOverride = 0 |
[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. |
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.
The same layer can have different lineweights in different viewports. Therefore this method is overdriven. The method with two arguments returns the specific lineweight specified for the viewport or own lineweight if the specific lineweight is not specified for the viewport.
Copyright © 2002–2021. Open Design Alliance. All rights reserved.
|