C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
m_elemGeom ElementGeometry>.Dictionary
m_rvtDoc System.Windows.Forms.Document
m_rvtUIDoc UIDocument

Открытые методы

Метод Описание
Create ( CreationData creationData ) : ModificationData

Create a hosted-sweep according to the CreationData parameter.

Защищенные методы

Метод Описание
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.

Описание методов

Create() публичный Метод

Create a hosted-sweep according to the CreationData parameter.
public Create ( CreationData creationData ) : ModificationData
creationData CreationData CreationData parameter
Результат ModificationData

CreateHostedSweep() защищенный абстрактный Метод

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
Результат HostedSweep

ExtractGeom() защищенный Метод

Extract the geometry of the given Element.
protected ExtractGeom ( Autodesk elem ) : ElementGeometry
elem Autodesk Element parameter
Результат ElementGeometry

HostedSweepCreator() защищенный Метод

Constructor which takes a Revit.Document as parameter.
protected HostedSweepCreator ( Autodesk rvtDoc ) : System
rvtDoc Autodesk Revit.Document parameter
Результат System

Описание свойств

m_elemGeom защищенное свойство

Dictionary to store element's geometry which this creator can be used.
protected Dictionary m_elemGeom
Результат ElementGeometry>.Dictionary

m_rvtDoc защищенное свойство

Revit active document.
protected Document,System.Windows.Forms m_rvtDoc
Результат System.Windows.Forms.Document

m_rvtUIDoc защищенное свойство

Revit UI document.
protected UIDocument m_rvtUIDoc
Результат UIDocument