MassInstanceUtils.AddMassLevelDataToMassInstance
Description:
Create a MassLevelData (Mass Floor) to associate a Level with a mass instance.
Create a MassLevelData (Mass Floor) to associate a Level with a mass instance.
-
documentThe Document.
-
massInstanceIdThe ElementId of the mass instance.
-
levelIdThe ElementId of the Level to associate with the mass instance.
Return Value
ElementId
The ElementId of the MassLevelData that was created, or the existing ElementId if it was already in added.
-
The ElementId massInstanceId is not a mass instance. -or- The ElementId levelId is not a Level.
-
A non-optional argument was null