C# Class Revit.SDK.Samples.NewHostedSweep.CS.HostedSweepCreator

Provides functions to create hosted sweep and preserves available edges and type. It is the base class of FasciaCreator, GutterCreator, and SlabEdgeCreator.
Afficher le fichier Open project: AMEE/revit Class Usage Examples

Protected Properties

Свойство Type Description
m_elemGeom ElementGeometry>.Dictionary
m_rvtDoc System.Windows.Forms.Document
m_rvtUIDoc UIDocument

Méthodes publiques

Méthode Description
Create ( CreationData creationData ) : ModificationData

Create a hosted-sweep according to the CreationData parameter.

Méthodes protégées

Méthode Description
CreateHostedSweep ( ElementType symbol, ReferenceArray refArr ) : HostedSweep

Create a hosted-sweep according to the given Symbol and ReferenceArray.

ExtractGeom ( Autodesk elem ) : ElementGeometry

Extract the geometry of the given Element.

HostedSweepCreator ( Autodesk rvtDoc ) : System

Constructor which takes a Revit.Document as parameter.

Method Details

Create() public méthode

Create a hosted-sweep according to the CreationData parameter.
public Create ( CreationData creationData ) : ModificationData
creationData CreationData CreationData parameter
Résultat ModificationData

CreateHostedSweep() protected abstract méthode

Create a hosted-sweep according to the given Symbol and ReferenceArray.
protected abstract CreateHostedSweep ( ElementType symbol, ReferenceArray refArr ) : HostedSweep
symbol ElementType Hosted-sweep Symbol
refArr ReferenceArray Hosted-sweep ReferenceArray
Résultat HostedSweep

ExtractGeom() protected méthode

Extract the geometry of the given Element.
protected ExtractGeom ( Autodesk elem ) : ElementGeometry
elem Autodesk Element parameter
Résultat ElementGeometry

HostedSweepCreator() protected méthode

Constructor which takes a Revit.Document as parameter.
protected HostedSweepCreator ( Autodesk rvtDoc ) : System
rvtDoc Autodesk Revit.Document parameter
Résultat System

Property Details

m_elemGeom protected_oe property

Dictionary to store element's geometry which this creator can be used.
protected Dictionary m_elemGeom
Résultat ElementGeometry>.Dictionary

m_rvtDoc protected_oe property

Revit active document.
protected Document,System.Windows.Forms m_rvtDoc
Résultat System.Windows.Forms.Document

m_rvtUIDoc protected_oe property

Revit UI document.
protected UIDocument m_rvtUIDoc
Résultat UIDocument