C# Class Revit.Elements.Group

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

Private Properties

Property Type Description
FromExisting Group
Group System
Group System
InitGroup void
InitGroup void
InternalSetGroup void

Public Methods

Method Description
FromElement ( Revit.Elements.Element element ) : Group

Create a group from an Revit group

PlaceGroupInstance ( Point point, GroupType groupType ) : Group

Place an instance of a Revit group

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 group, bool isRevitOwned ) : Group

Create a group from an existing reference

Group ( Autodesk.Revit.DB group ) : System

Create from an existing Revit Element

Group ( Autodesk.Revit.DB point, Autodesk.Revit.DB groupType ) : System
InitGroup ( Autodesk.Revit.DB group ) : void

Initialize a group element

InitGroup ( Autodesk.Revit.DB point, Autodesk.Revit.DB groupType ) : void

Place a Group in the model

InternalSetGroup ( Autodesk.Revit.DB group ) : void

Set the internal Element, ElementId, and UniqueId

Method Details

FromElement() public static method

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

PlaceGroupInstance() public static method

Place an instance of a Revit group
public static PlaceGroupInstance ( Point point, GroupType groupType ) : Group
point Point Location point for the group instance
groupType GroupType The type of the group
return Group

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