C# Класс Canguro.Commands.Model.ImportDXFCmd

Model Command to import a Drawing Exchange Format file into the Model. Only Lines and PolyLines are supported.
Наследование: Canguro.Commands.ModelCommand
Показать файл Открыть проект

Открытые методы

Метод Описание
Import ( string path, Canguro model ) : void

Reads a DXF file and adds all the lines defined in it to the given Model

Run ( Canguro services ) : void

Executes the command. Opens the Open File Dialog and imports the selected Drawing Wxchange Format file into the current Model.

Приватные методы

Метод Описание
AddLine ( Canguro model, Joint ji, Joint jj, StraightFrameProps props, List newJoints, List newLines ) : void

Adds a Line Element to the given Model

Описание методов

Import() публичный статический метод

Reads a DXF file and adds all the lines defined in it to the given Model
public static Import ( string path, Canguro model ) : void
path string The path to the DXF file
model Canguro The current Model object
Результат void

Run() публичный метод

Executes the command. Opens the Open File Dialog and imports the selected Drawing Wxchange Format file into the current Model.
public Run ( Canguro services ) : void
services Canguro CommandServices object to interact with the system
Результат void