M

NewRoomTag

Version comparison

Per-version detail

Click a version below to see what changed in that release vs your current frame (2022).
Identical to 2022: 2020, 2021, 2023, 2024
2022 current
Document.NewRoomTag(LinkElementId, UV, ElementId)
roomId LinkElementId The HostOrLinkElementId of the Room.
point UV A 2D point that defines the tag location on the level of the room.
viewId ElementId The id of the view where the tag will be shown. If <span class="keyword">null</span><span class="nu">a null reference (<span class="keyword">Nothing</span> in Visual Basic)</span> and the room in not in a Revit link, the view of the room will be used.
→ returns RoomTagnullNothingnullptr If successful a RoomTag object will be returned, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
Document.NewRoomTag(LinkElementId, UV, ElementId)
roomId LinkElementId The HostOrLinkElementId of the Room.
point UV A 2D point that defines the tag location on the level of the room.
viewId ElementId The id of the view where the tag will be shown. If <span class="keyword">null</span><span class="nu">a null reference (<span class="keyword">Nothing</span> in Visual Basic)</span> and the room in not in a Revit link, the view of the room will be used.
→ returns RoomTagnullNothingnullptr If successful a RoomTag object will be returned, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
Document.NewRoomTag(LinkElementId, UV, ElementId)
roomId LinkElementId The HostOrLinkElementId of the Room.
point UV A 2D point that defines the tag location on the level of the room.
viewId ElementId The id of the view where the tag will be shown. If <span class="keyword">null</span><span class="nu">a null reference (<span class="keyword">Nothing</span> in Visual Basic)</span> and the room in not in a Revit link, the view of the room will be used.
→ returns RoomTagnullNothingnullptr If successful a RoomTag object will be returned, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
Document.NewRoomTag(LinkElementId, UV, ElementId)
roomId LinkElementId The HostOrLinkElementId of the Room.
point UV A 2D point that defines the tag location on the level of the room.
viewId ElementId The id of the view where the tag will be shown. If <span class="keyword">null</span><span class="nu">a null reference (<span class="keyword">Nothing</span> in Visual Basic)</span> and the room in not in a Revit link, the view of the room will be used.
→ returns RoomTagnullNothingnullptr If successful a RoomTag object will be returned, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .