LoadEntities_FromDxf


Loads entities from a DXF file as an array of point arrays.

Syntax

C++
C#
Python
 
def LoadEntities_FromDxf(
	inDxfFile: str,
	/,
	*,
	inScale: float = 10.0,
	inLayersToDraw: list[str] | None = None
)
-> (
	outOrigin: Point2D,
	outEntities: list[ list[Point2D] ],
	diagFileLayersNames: list[str]
)

Parameters

Name Type Range Default Description
Input value inDxfFile str
Input value inScale float 0.0 - 10.0 Scale (pixels per millimeter)
Input value inLayersToDraw list[str] | None None Names of layers to draw. Names of all layers are available at the 'diagFileLayersNames' output
Output value outOrigin Point2D Location of the origin from DXF on 'outImage'
Output value outEntities list[ list[Point2D] ]
Diagnostic input diagFileLayersNames list[str] Names of all layers in DXF file