C

Viewport

Version comparison

Members across versions

19 members across 9 versions · 10 added later · 1 removed · 2 changed · 1 obsolete

Member-name color: stable · changed · removed · obsolete · added later

Member 2020 2021 2022 2023 2024 2025 2025.3 2026 2027
M CanAddViewToSheet(Document, ElementId, ElementId)
same same same same same same same same same
M Create(Document, ElementId, ElementId, XYZ)
same same same same same changed same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
M GetPositionAtViewAnchor(ViewAnchor)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
not yet introduced not yet introduced not yet introduced added same same same same same
not yet introduced not yet introduced not yet introduced added same same same same same
not yet introduced not yet introduced not yet introduced added same same same same same
M SetBoxCenter(XYZ)
same same same same same same same same same
M SetViewAnchorAndPosition(ViewAnchor, XYZ)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
not yet introduced not yet introduced added same same same same same same
not yet introduced not yet introduced added same same same same same same
same same same same same same same same same
same same same same same same same same same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
P ViewId
same same same same same same same same same
not yet introduced not yet introduced not yet introduced added same same same changed missing
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same

Per-version detail

Click a version below to see what changed in that release vs your current frame (2026).
2026 current

Changes in 2020 vs 2026 10 missing 1 changed

Flip API Versions →

Missing in 2020 (only available in 2026)

Changed members

Viewport.Create(Document, ElementId, ElementId, XYZ)
document Document The document to which the new Viewport will be added.
viewSheetId ElementId The ViewSheet on which the new Viewport will be placed.
viewId ElementId The view shown in the Viewport.
point XYZ The new Viewport will be centered on this point.
→ returns Viewport The new Viewport.

Changes in 2021 vs 2026 10 missing 1 changed

Flip API Versions →

Missing in 2021 (only available in 2026)

Changed members

Viewport.Create(Document, ElementId, ElementId, XYZ)
document Document The document to which the new Viewport will be added.
viewSheetId ElementId The ViewSheet on which the new Viewport will be placed.
viewId ElementId The view shown in the Viewport.
point XYZ The new Viewport will be centered on this point.
→ returns Viewport The new Viewport.

Changes in 2022 vs 2026 8 missing 1 changed

Flip API Versions →

Missing in 2022 (only available in 2026)

Changed members

Viewport.Create(Document, ElementId, ElementId, XYZ)
document Document The document to which the new Viewport will be added.
viewSheetId ElementId The ViewSheet on which the new Viewport will be placed.
viewId ElementId The view shown in the Viewport.
point XYZ The new Viewport will be centered on this point.
→ returns Viewport The new Viewport.

Changes in 2023 vs 2026 4 missing 2 changed

Flip API Versions →

Missing in 2023 (only available in 2026)

Changed members

Viewport.Create(Document, ElementId, ElementId, XYZ)
document Document The document to which the new Viewport will be added.
viewSheetId ElementId The ViewSheet on which the new Viewport will be placed.
viewId ElementId The view shown in the Viewport.
point XYZ The new Viewport will be centered on this point.
→ returns Viewport The new Viewport.
Viewport.ViewportPositioning()
Became obsolete in 2026: This property is deprecated in Revit 2026 and may be removed in a future version of Revit. Please use ViewAnchor instead.
→ returns ViewportPositioning

Changes in 2024 vs 2026 4 missing 2 changed

Flip API Versions →

Missing in 2024 (only available in 2026)

Changed members

Viewport.Create(Document, ElementId, ElementId, XYZ)
document Document The document to which the new Viewport will be added.
viewSheetId ElementId The ViewSheet on which the new Viewport will be placed.
viewId ElementId The view shown in the Viewport.
point XYZ The new Viewport will be centered on this point.
→ returns Viewport The new Viewport.
Viewport.ViewportPositioning()
Became obsolete in 2026: This property is deprecated in Revit 2026 and may be removed in a future version of Revit. Please use ViewAnchor instead.
→ returns ViewportPositioning