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 | |
|---|---|---|---|---|---|
![]() |
inDxfFile | str | |||
![]() |
inScale | float | 0.0 - ![]() |
10.0 | Scale (pixels per millimeter) |
![]() |
inLayersToDraw | list[str] | None | None | Names of layers to draw. Names of all layers are available at the 'diagFileLayersNames' output | |
![]() |
outOrigin | Point2D | Location of the origin from DXF on 'outImage' | ||
![]() |
outEntities | list[ list[Point2D] ] | |||
![]() |
diagFileLayersNames | list[str] | Names of all layers in DXF file |




