Back to FabImage Library website
You are here: Start » Function Reference » System » Interoperability » LoadEntities_FromDxf

LoadEntities_FromDxf
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationPro |
Loads entities from a DXF file as an array of point arrays.
Syntax
C++
C#
void fil::LoadEntities_FromDxf ( const ftl::File& inDxfFile, const float inScale, ftl::Optional<const ftl::Array<ftl::String> &> inLayersToDraw, fil::Point2D& outOrigin, ftl::Array<ftl::Array<fil::Point2D> >& outEntities, ftl::Array<ftl::String>& diagFileLayersNames )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inDxfFile | const File& | |||
![]() |
inScale | const float | 0.0 - ![]() |
10.0f | Scale (pixels per millimeter) |
![]() |
inLayersToDraw | Optional<const Array<String> &> | NIL | 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 | Array<Array<Point2D> >& | |||
![]() |
diagFileLayersNames | Array<String>& | Names of all layers in DXF file |