 | BlockLoad Method (String) |
imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Creates a block from an external dxf file.
Namespace:
netDxf.Blocks
Assembly:
netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntaxpublic static Block Load(
string file
)
Request Example
View SourceParameters
- file
- Type: SystemString
Dxf file name.
Return Value
Type:
BlockThe block build from the dxf file content. It will return null if the file has not been able to load.
Remarks
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.
See Also