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.)
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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