C# Class Revit.Elements.GroupType

Inheritance: Revit.Elements.Element, IGraphicItem
Mostrar archivo Open project: simonmoreau/DynamoMEP Class Usage Examples

Private Properties

Property Type Description
FromExisting GroupType
GetNextFilename string
GroupType System
GroupType System
GroupType System
InitGroupType void
InitGroupType void
InitGroupType void
InternalSetGroupType void

Public Methods

Method Description
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.

Private Methods

Method Description
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

Method Details

FromElement() public static method

Create a GroupType from an Revit GroupType
public static FromElement ( Revit.Elements.Element element ) : GroupType
element Revit.Elements.Element The origin element
return GroupType

FromElements() public static method

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.
return GroupType

FromElementsAndName() public static method

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.
return GroupType

ToString() public method

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
return string