C# Class Revit.SDK.Samples.ReferencePlane.CS.ReferencePlaneMgr

A object to manage reference plane.
Exibir arquivo Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
Create ( ) : void

Create reference plane with the selected element. the selected element must be wall or slab at this sample code.

ReferencePlaneMgr ( ExternalCommandData commandData ) : System

A ReferencePlaneMgr object constructor.

Private Methods

Method Description
Format ( Autodesk point ) : string

Format the output string for a point.

GetAllReferencePlanes ( ) : int

Get all reference planes in current revit project.

InitializeDataTable ( ) : void

Initialize a DataTable object which is datasource of a DataGridView control.

LocateSlab ( Floor floor, Autodesk &bubbleEnd, Autodesk &freeEnd, Autodesk &thirdPnt ) : void

Located the buttom of a slab object.

LocateWall ( Wall wall, Autodesk &bubbleEnd, Autodesk &freeEnd, Autodesk &cutVec ) : void

Located the exterior of a wall object.

OperateSlab ( Autodesk.Revit.DB.Element host ) : void

Create reference plane for a slab.

OperateWall ( Autodesk.Revit.DB.Element host ) : void

Create reference plane for a wall.

Method Details

Create() public method

Create reference plane with the selected element. the selected element must be wall or slab at this sample code.
public Create ( ) : void
return void

ReferencePlaneMgr() public method

A ReferencePlaneMgr object constructor.
public ReferencePlaneMgr ( ExternalCommandData commandData ) : System
commandData ExternalCommandData The ExternalCommandData object for the active /// instance of Autodesk Revit.
return System