MassInstanceUtils.RemoveMassLevelDataFromMassInstance
Method
Description:
Delete the MassLevelData (Mass Floor) that associates a Level with a mass instance.
Delete the MassLevelData (Mass Floor) that associates a Level with a mass instance.
Remarks:
Alternatively, you could just delete the MassLevelData.
Alternatively, you could just delete the MassLevelData.
Syntax
public static void RemoveMassLevelDataFromMassInstance(
Document document,
ElementId massInstanceId,
ElementId levelId
)
Parameters
Parameter | Type | Description |
---|---|---|
document | Document | The Document. |
massInstanceId | ElementId | The ElementId of the mass instance. |
levelId | ElementId | The ElementId of the Level to disassociate from the mass instance. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentException | The ElementId massInstanceId is not a mass instance. -or- The ElementId levelId is not a Level. |
ArgumentNullException | A non-optional argument was null |