MassInstanceUtils.GetMassLevelDataIds
Method
Description:
Get the ElementIds of the MassLevelDatas (Mass Floors) associated with a mass instance.
Get the ElementIds of the MassLevelDatas (Mass Floors) associated with a mass instance.
Syntax
public static IList<ElementId> GetMassLevelDataIds(
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 MassLevelDatas. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The ElementId massInstanceId is not a mass instance. |
| ArgumentNullException | A non-optional argument was null |