C# 클래스 RevitLookup.Test.SDKSamples.StructuralSample.StructSample

.Net sample: StructSample. This command places a set of coulmns in the selected wall. /// Note that Revit uses Feet as an internal length unit. (1) Draw some walls, and constrain their top and bottom to the levels in the properties dialog. (2) Run the test. It will place columns along each wall with the interval of 5 feet. (The interval is also hard coded.)
파일 보기 프로젝트 열기: jeremytammik/RevitLookup 1 사용 예제들

공개 메소드들

메소드 설명
ExecuteStructSample ( ) : System.Boolean

StructSample ( Autodesk app, ICollection ids ) : System

비공개 메소드들

메소드 설명
ACos ( double d ) : double

FrameWall ( Autodesk rvtApp, Autodesk wall, double spacing, FamilySymbol columnType ) : void

Frame a wall.

PlaceColumn ( Autodesk rvtApp, System.Windows.Forms.Document rvtDoc, Autodesk point2, double angle, FamilySymbol columnType, ElementId baseLevelId, ElementId topLevelId ) : void

Create a column instance and place it on the wall line.

VecAngle ( UV va, UV vb ) : double

VecDot ( UV va, UV vb ) : double

VecLength ( UV v ) : double

VecNormalise ( UV v ) : UV

메소드 상세

ExecuteStructSample() 공개 메소드

public ExecuteStructSample ( ) : System.Boolean
리턴 System.Boolean

StructSample() 공개 메소드

public StructSample ( Autodesk app, ICollection ids ) : System
app Autodesk
ids ICollection
리턴 System