Back to Aurora Vision Library website

You are here: Start » Function Reference » System » Interoperability » LoadEntities_FromDxf

LoadEntities_FromDxf


Header: AVL.h
Namespace: avl
Module: FoundationPro

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

Syntax

C++
C#
 
void avl::LoadEntities_FromDxf
(
	const atl::File& inDxfFile,
	const float inScale,
	atl::Optional<const atl::Array<atl::String> &> inLayersToDraw,
	avl::Point2D& outOrigin,
	atl::Array<atl::Array<avl::Point2D> >& outEntities,
	atl::Array<atl::String>& diagFileLayersNames
)

Parameters

Name Type Range Default Description
Input value inDxfFile const File&
Input value inScale const float 0.0 - 10.0f Scale (pixels per millimeter)
Input value inLayersToDraw Optional<const Array<String> &> NIL 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 Array<Array<Point2D> >&
Diagnostic input diagFileLayersNames Array<String>& Names of all layers in DXF file