Place an instance of a Model Group into the Autodesk Revit document, using a location
and a group type.
Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public Group PlaceGroup( XYZ location, GroupType groupType )
Parameters
- location XYZ
- The physical location where the group is to be placed.
- groupType GroupType
- A GroupType object that represents the type of group that is to be placed.
Return Value
GroupIf creation was successful then an instance to the new group is returned, otherwise nullptr.