This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 414
721230ac 6c37 fe70 50bd 69c21aed4557
haplokuon edited this page May 6, 2023
·
1 revision
netDxf 3.0.0 Library
Creates a block from an external DXF file.
Namespace: netDxf.Blocks
Assembly: netDxf (in netDxf.dll) Version: 3.0.0
C#
public static Block Load(
string file,
IEnumerable<string> supportFolders
)
VB
Public Shared Function Load (
file As String,
supportFolders As IEnumerable(Of String)
) As Block
C++
public:
static Block^ Load(
String^ file,
IEnumerable<String^>^ supportFolders
)
F#
static member Load :
file : string *
supportFolders : IEnumerable<string> -> Block
- String
- DXF file name.
- IEnumerable(String)
- List of the document support folders.
Block
The block build from the DXF file content. It will return null if the file has not been able to load.
The name of the block will be the file name without extension, and only the entities contained in ModelSpace will make part of the block.