C# Класс Revit.Elements.GroupType

Наследование: Revit.Elements.Element, IGraphicItem
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
FromExisting GroupType
GetNextFilename string
GroupType System
GroupType System
GroupType System
InitGroupType void
InitGroupType void
InitGroupType void
InternalSetGroupType void

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

Метод Описание
FromElement ( Revit.Elements.Element element ) : GroupType

Create a GroupType from an Revit GroupType

FromElements ( List elements ) : GroupType

Create a Revit GroupType from a set of elements

FromElementsAndName ( List elements, string name ) : GroupType

Create a Revit GroupType from a set of elements and a name

ToString ( ) : string

Display Spaces in the Dynamo interface

OPTIONAL: Overriding ToString allows you to control what is displayed whenever the object's string representation is used. For example, ToString is called when the object is displayed in a Watch node.

Приватные методы

Метод Описание
FromExisting ( Autodesk.Revit.DB GroupType, bool isRevitOwned ) : GroupType

Create a space from an existing reference

GetNextFilename ( string pattern, List names ) : string
GroupType ( Autodesk.Revit.DB GroupType ) : System

Create from an existing Revit Element

GroupType ( ICollection ids ) : System
GroupType ( ICollection ids, string name ) : System
InitGroupType ( Autodesk.Revit.DB GroupType ) : void

Initialize a GroupType element

InitGroupType ( ICollection ids ) : void

Initialize a GroupType element from a set of objects ids

InitGroupType ( ICollection ids, string name ) : void

Initialize a GroupType element from a set of objects ids and a name

InternalSetGroupType ( Autodesk.Revit.DB GroupType ) : void

Set the internal Element, ElementId, and UniqueId

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

FromElement() публичный статический Метод

Create a GroupType from an Revit GroupType
public static FromElement ( Revit.Elements.Element element ) : GroupType
element Revit.Elements.Element The origin element
Результат GroupType

FromElements() публичный статический Метод

Create a Revit GroupType from a set of elements
public static FromElements ( List elements ) : GroupType
elements List A set of elements which will be made into the new GroupType.
Результат GroupType

FromElementsAndName() публичный статический Метод

Create a Revit GroupType from a set of elements and a name
public static FromElementsAndName ( List elements, string name ) : GroupType
elements List A set of elements which will be made into the new GroupType.
name string the name of the GroupType.
Результат GroupType

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

Display Spaces in the Dynamo interface OPTIONAL: Overriding ToString allows you to control what is displayed whenever the object's string representation is used. For example, ToString is called when the object is displayed in a Watch node.
public ToString ( ) : string
Результат string