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
파일 보기 프로젝트 열기: rforsbach/Treu-Structure

공개 메소드들

메소드 설명
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