MassInstanceUtils.GetMassLevelIds
Method
Description:
Get the ElementIds of the Levels associated with a mass instance.
Get the ElementIds of the Levels associated with a mass instance.
Syntax
public static IList<ElementId> GetMassLevelIds(
Document document,
ElementId massInstanceId
)
Parameters
Parameter | Type | Description |
---|---|---|
document | Document | The Document. |
massInstanceId | ElementId | The ElementId of the mass instance. |
Return Value
Type | Description |
---|---|
IList | The ElementIds of the Levels |
Exceptions
Exception | Condition |
---|---|
ArgumentException | The ElementId massInstanceId is not a mass instance. |
ArgumentNullException | A non-optional argument was null |