2027 Method
Changes 0
M

MassInstanceUtils.AddMassLevelDataToMassInstance

Description:
Create a MassLevelData (Mass Floor) to associate a Level with a mass instance.
public static ElementId AddMassLevelDataToMassInstance(
	Document document,
	ElementId massInstanceId,
	ElementId levelId
)
  • document
    The Document.
  • massInstanceId
    The ElementId of the mass instance.
  • levelId
    The 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.