C# 클래스 Revit.SDK.Samples.GridCreation.CS.CreateGridsData

Base class of all grid creation data class
파일 보기 프로젝트 열기: AMEE/revit

보호된 프로퍼티들

프로퍼티 타입 설명
m_appCreator Autodesk.Revit.Creation.Autodesk.Revit.ApplicationServices.Application
m_docCreator Autodesk.Revit.Creation.Document
m_dut DisplayUnitType
m_revitDoc Autodesk.Revit.DB.Document
resManager System.Resources.ResourceManager

공개 메소드들

메소드 설명
AddCurveForBatchCreation ( CurveArray &curves, Curve curve ) : void

Add curve to curve array for batch creation

CreateGridsData ( UIApplication application, ArrayList labels ) : System

Constructor without display unit type

CreateGridsData ( UIApplication application, ArrayList labels, DisplayUnitType dut ) : System

Constructor with display unit type

ShowMessage ( String message, String caption ) : void

Show a message box

보호된 메소드들

메소드 설명
CreateGrids ( CurveArray curves ) : void

Create batch of grids with curves

CreateLinearGrid ( Line line ) : Grid

Create linear grid

NewGrid ( Arc arc ) : Grid

Create a grid with an arc

NewGrid ( Line line ) : Grid

Create a grid with a line

NewLine ( Autodesk start, Autodesk end ) : Line

Create a new bound line

TransformArc ( Arc arc, BubbleLocation bubLoc ) : Arc

Get the arc to create grid according to the specified bubble location

TransformArc ( Autodesk origin, double radius, double startDegree, double endDegree, BubbleLocation bubLoc ) : Arc

Get the arc to create grid according to the specified bubble location

TransformCircle ( Arc arc, Arc &upperArc, Arc &lowerArc, BubbleLocation bubLoc ) : void

Split a circle into the upper and lower parts

TransformLine ( Line line, BubbleLocation bubLoc ) : Line

Get the line to create grid according to the specified bubble location

메소드 상세

AddCurveForBatchCreation() 공개 정적인 메소드

Add curve to curve array for batch creation
public static AddCurveForBatchCreation ( CurveArray &curves, Curve curve ) : void
curves CurveArray curve array stores all curves for batch creation
curve Curve curve to be added
리턴 void

CreateGrids() 보호된 메소드

Create batch of grids with curves
protected CreateGrids ( CurveArray curves ) : void
curves CurveArray Curves used to create grids
리턴 void

CreateGridsData() 공개 메소드

Constructor without display unit type
public CreateGridsData ( UIApplication application, ArrayList labels ) : System
application UIApplication Revit application
labels System.Collections.ArrayList All existing labels in Revit's document
리턴 System

CreateGridsData() 공개 메소드

Constructor with display unit type
public CreateGridsData ( UIApplication application, ArrayList labels, DisplayUnitType dut ) : System
application UIApplication Revit application
labels System.Collections.ArrayList All existing labels in Revit's document
dut DisplayUnitType Current length display unit type
리턴 System

CreateLinearGrid() 보호된 메소드

Create linear grid
protected CreateLinearGrid ( Line line ) : Grid
line Line The linear curve to be transferred to grid
리턴 Grid

NewGrid() 보호된 메소드

Create a grid with an arc
protected NewGrid ( Arc arc ) : Grid
arc Arc Arc to create grid
리턴 Grid

NewGrid() 보호된 메소드

Create a grid with a line
protected NewGrid ( Line line ) : Grid
line Line Line to create grid
리턴 Grid

NewLine() 보호된 메소드

Create a new bound line
protected NewLine ( Autodesk start, Autodesk end ) : Line
start Autodesk start point of line
end Autodesk end point of line
리턴 Line

ShowMessage() 공개 정적인 메소드

Show a message box
public static ShowMessage ( String message, String caption ) : void
message String Message
caption String title of message box
리턴 void

TransformArc() 보호된 메소드

Get the arc to create grid according to the specified bubble location
protected TransformArc ( Arc arc, BubbleLocation bubLoc ) : Arc
arc Arc The original selected line
bubLoc BubbleLocation bubble location
리턴 Arc

TransformArc() 보호된 메소드

Get the arc to create grid according to the specified bubble location
protected TransformArc ( Autodesk origin, double radius, double startDegree, double endDegree, BubbleLocation bubLoc ) : Arc
origin Autodesk Arc grid's origin
radius double Arc grid's radius
startDegree double Arc grid's start degree
endDegree double Arc grid's end degree
bubLoc BubbleLocation Arc grid's Bubble location
리턴 Arc

TransformCircle() 보호된 메소드

Split a circle into the upper and lower parts
protected TransformCircle ( Arc arc, Arc &upperArc, Arc &lowerArc, BubbleLocation bubLoc ) : void
arc Arc Arc to be split
upperArc Arc Upper arc of the circle
lowerArc Arc Lower arc of the circle
bubLoc BubbleLocation bubble location
리턴 void

TransformLine() 보호된 메소드

Get the line to create grid according to the specified bubble location
protected TransformLine ( Line line, BubbleLocation bubLoc ) : Line
line Line The original selected line
bubLoc BubbleLocation bubble location
리턴 Line

프로퍼티 상세

m_appCreator 보호되어 있는 프로퍼티

Application Creation object to create new elements
protected Autodesk.Revit.Creation.Autodesk.Revit.ApplicationServices.Application m_appCreator
리턴 Autodesk.Revit.Creation.Autodesk.Revit.ApplicationServices.Application

m_docCreator 보호되어 있는 프로퍼티

Document Creation object to create new elements
protected Autodesk.Revit.Creation.Document m_docCreator
리턴 Autodesk.Revit.Creation.Document

m_dut 보호되어 있는 프로퍼티

Current display unit type
protected DisplayUnitType m_dut
리턴 DisplayUnitType

m_revitDoc 보호되어 있는 프로퍼티

The active document of Revit
protected Document,Autodesk.Revit.DB m_revitDoc
리턴 Autodesk.Revit.DB.Document

resManager 보호되어 있는 정적으로 프로퍼티

Resource manager
protected static System.Resources.ResourceManager resManager
리턴 System.Resources.ResourceManager