C# Class Revit.SDK.Samples.FoundationSlab.CS.SlabData

A class collecting all useful datas from revit API for UI.
Mostra file Open project: AMEE/revit Class Usage Examples

Public Properties

Property Type Description
CreApp Autodesk.Revit.Creation.Application
m_revit Autodesk.Revit.UI.UIApplication

Public Methods

Method Description
ChangeAllSelected ( bool value ) : void

Change the Selected property for all regular slabs.

CheckHaveSelected ( ) : bool

Check whether a regular slab is selected.

CreateFoundationSlabs ( ) : bool

Create foundation slabs.

SlabData ( UIApplication revit ) : System

Constructor.

Private Methods

Method Description
FindElements ( ) : void

Find out all useful elements.

GetAllBaseSlabs ( ) : bool

Get all base slabs.

GetFloorProfile ( Floor floor ) : CurveArray

Get a floor's profile.

IsPlanarFloor ( BoundingBoxXYZ bbXYZ, Floor floor ) : bool

Check whether the floor is planar.

Method Details

ChangeAllSelected() public method

Change the Selected property for all regular slabs.
public ChangeAllSelected ( bool value ) : void
value bool The value for Selected property
return void

CheckHaveSelected() public method

Check whether a regular slab is selected.
public CheckHaveSelected ( ) : bool
return bool

CreateFoundationSlabs() public method

Create foundation slabs.
public CreateFoundationSlabs ( ) : bool
return bool

SlabData() public method

Constructor.
public SlabData ( UIApplication revit ) : System
revit UIApplication An application object that contains data related to revit command.
return System

Property Details

CreApp public_oe static_oe property

public static Autodesk.Revit.Creation.Application CreApp
return Autodesk.Revit.Creation.Application

m_revit public_oe static_oe property

public static UIApplication,Autodesk.Revit.UI m_revit
return Autodesk.Revit.UI.UIApplication