You are here: Start » AVL.NET » Invoke.LoadEntities_FromDxf
Loads entities from a DXF file as an array of point arrays.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void LoadEntities_FromDxf ( string inDxfFile, float inScale, Optional<List<string>> inLayersToDraw, out Avl.Point2D outOrigin, List<List<Avl.Point2D>> outEntities, Diagnostic<List<string>> diagFileLayersNames )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inDxfFile | string | |||
![]() | inScale | float | <0.0f, INF> | 10.0f | Scale (pixels per millimeter). Default value: 10.0f. |
![]() | inLayersToDraw | Atl.Optional<System.Collections.Generic.List<string>> | Names of layers to draw. Names of all layers are available at the 'diagFileLayersNames' output. Default value: atl::NIL. | ||
![]() | outOrigin | Avl.Point2D | Location of the origin from DXF on 'outImage'. | ||
![]() | outEntities | System.Collections.Generic.List<System.Collections.Generic.List<Avl.Point2D>> | |||
![]() | diagFileLayersNames | Avl.Diagnostic<System.Collections.Generic.List<string>> | Names of all layers in DXF file. |