Method CreateRigidGroup
CreateRigidGroup(DocumentId, List<ElementId>, bool)
Creates a rigid group entity in a specified document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 8, 0, 0)]
ElementId CreateRigidGroup(DocumentId inDocumentId, List<ElementId> inConstituentIds, bool inIsInvalidWhenEmpty)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| List<ElementId> | inConstituentIds | Identifiers of the rigid group constituent entities. |
| bool | inIsInvalidWhenEmpty | Whether the rigid group is invalid when it is empty. |
Returns
| Type | Description |
|---|---|
| ElementId | Identifier of the created rigid group entity. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.8.