Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

23b4b58b 2b14 8d2f f9b7 456005c09a1f

haplokuon edited this page May 6, 2023 · 1 revision

BuildDimensionBlocks Property

netDxf 3.0.0 Library

[Missing <summary> documentation for "P:netDxf.DxfDocument.BuildDimensionBlocks"]

Definition

Namespace: netDxf
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public bool BuildDimensionBlocks { get; set; }

VB

Public Property BuildDimensionBlocks As Boolean
	Get
	Set

C++

public:
property bool BuildDimensionBlocks {
	bool get ();
	void set (bool value);
}

F#

member BuildDimensionBlocks : bool with get, set

Property Value

Boolean

Remarks

By default this value is set to false, no dimension blocks will be generated when adding dimension entities to the document. It will be the responsibility of the program importing the DXF to generate the drawing that represent the dimensions.
When set to true the block that represents the dimension will be generated, keep in mind that this process is limited and not all options available in the dimension style will be reflected in the final result.
When importing a file if the dimension block is present it will be read, regardless of this value. If, later, the dimension is modified all updates will be done with the limited dimension drawing capabilities of the library, in this case, if you want that the new modifications to be reflected when the file is saved again you can set the dimension block to null, and the program reading the resulting file will regenerate the block with the new modifications.

See Also

Reference

DxfDocument Class
netDxf Namespace

Clone this wiki locally