Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show only
|
Search instead for
Did you mean:
This page has been translated for your convenience with an automatic translation service. This is not an official translation and may contain errors and inaccurate translations. Autodesk does not warrant, either expressly or implied, the accuracy, reliability or completeness of the information translated by the machine translation service and will not be liable for damages or losses caused by the trust placed in the translation service.Translate
API for Get / Set viewport title line length & location
In the UI Revit allows changing the length and location of a viewport title line. In the API this does not seem to be possible. Could you verify this and file a request for Development to add this API in a future release?
Our firm uses a Cartesian (x = Letters y = Numbers) system for detail numbers based on their location on a sheet, something that was always done by hand - accessing the min. point of the title line within the API would be a great improvement to how i am currently generating this with the viewport bounding box.
We're happy to say that this capability has been added in Revit 2022.
Associated API documentation:
The new property: Viewport.LabelOffset
controls the two-dimensional label offset from left bottom corner of the viewport (as established with Rotation set to None) to the left end of the viewport label line.
The new property: Viewport.LabelLineLength
controls the length of the viewport label line in sheet space.