Document.NewRoomTag
Description:
Creates a new RoomTag referencing a room in the host model or in a Revit link.
Creates a new RoomTag referencing a room in the host model or in a Revit link.
public RoomTag NewRoomTag(
LinkElementId roomId,
UV point,
ElementId viewId
)
-
roomIdThe HostOrLinkElementId of the Room.
-
pointA 2D point that defines the tag location on the level of the room.
-
viewIdThe id of the view where the tag will be shown. If null and the room in not in a Revit link, the view of the room will be used.
-
viewId is not associated with a plan view or section view.
-
viewId is null and the room is in a linked file.