C# Class 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.)
Afficher le fichier Open project: jeremytammik/RevitLookup Class Usage Examples

Méthodes publiques

Méthode Description
ExecuteStructSample ( ) : System.Boolean

StructSample ( Autodesk app, ICollection ids ) : System

Private Methods

Méthode Description
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

Method Details

ExecuteStructSample() public méthode

public ExecuteStructSample ( ) : System.Boolean
Résultat System.Boolean

StructSample() public méthode

public StructSample ( Autodesk app, ICollection ids ) : System
app Autodesk
ids ICollection
Résultat System