Method CreateVisibilityChangeTask
CreateVisibilityChangeTask(DocumentId, bool, List<ElementId>)
Creates a visibility change task in a specified document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 6, 0, 0)]
ElementId CreateVisibilityChangeTask(DocumentId inDocumentId, bool inIsHiding, List<ElementId> inRigidGroupIds)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| bool | inIsHiding | Whether the task is hiding, or otherwise showing. |
| List<ElementId> | inRigidGroupIds | Identifiers of rigid groups that are changing. |
Returns
| Type | Description |
|---|---|
| ElementId | Identifier of the created task. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.6.