You are here: Start » AVL.NET » Invoke.LoadEntities_FromDxf

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
inDxfFilestring
inScalefloat<0.0f, INF>10.0fScale (pixels per millimeter). Default value: 10.0f.
inLayersToDrawAtl.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.
outOriginAvl.Point2DLocation of the origin from DXF on 'outImage'.
outEntitiesSystem.Collections.Generic.List<System.Collections.Generic.List<Avl.Point2D>>
diagFileLayersNamesAvl.Diagnostic<System.Collections.Generic.List<string>>Names of all layers in DXF file.

See also