Method GetSets
GetSets(DocumentId)
Gets the set definition entities that are in the sets folder of a document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 12, 0, 0)]
List<ElementId> GetSets(DocumentId inDocumentId)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to analyze. |
Returns
| Type | Description |
|---|---|
| List<ElementId> | Set definition entities found. |
Remarks
The method GetConstituents(ElementId) may be used to explore the contents of a set definition.
Set definition constituents may be other set definition entities or shortcut entities which target entity may be obtained using the GetShortcutTarget(ElementId) method.
This method is available since v7.12.