C# Class Revit.SDK.Samples.FrameBuilder.CS.FrameBuilder

create columns, beams and braces to create framing
Afficher le fichier Open project: AMEE/revit Class Usage Examples

Méthodes publiques

Méthode Description
CreateFraming ( ) : void

create framing according to FramingData

FrameBuilder ( FrameData data ) : System

constructor

Private Methods

Méthode Description
CreateMatrix ( int xNumber, int yNumber, double distance ) : UV[,],Autodesk.Revit.DB

create a 2D matrix of coordinates to form an array format

FrameBuilder ( ) : System

constructor without parameter is forbidden

MoveElement ( Document doc, Autodesk elem, Autodesk translation2D ) : void

move an element in horizontal plane

MoveRotateFrame ( List frameElems ) : void

move and rotate the Frame

NewBeam ( Autodesk point2D1, Autodesk point2D2, Level topLevel ) : FamilyInstance

create beam of certain type in given position

NewBraces ( Autodesk point2D1, Autodesk point2D2, Level baseLevel, Level topLevel ) : List

create 2 braces between the mid point of 2 column and the mid point of adjoining beam

NewColumn ( Autodesk point2D, Level baseLevel, Level topLevel ) : FamilyInstance

create column of certain type in given position

RotateElement ( UIApplication app, Autodesk elem, Autodesk center, double angle ) : void

rotate an element a specified number of degrees around a given center in horizontal plane

SetParameter ( Autodesk.Revit.DB.Element elem, BuiltInParameter builtInPara, Autodesk value ) : bool

set parameter whose storage type is Autodesk.Revit.DB.ElementId

SetParameter ( Autodesk.Revit.DB.Element elem, BuiltInParameter builtInPara, double value ) : bool

set parameter whose storage type is double

Method Details

CreateFraming() public méthode

create framing according to FramingData
public CreateFraming ( ) : void
Résultat void

FrameBuilder() public méthode

constructor
public FrameBuilder ( FrameData data ) : System
data FrameData data necessary to initialize object
Résultat System