Announcements
Welcome to the Revit Ideas Board! Before posting, please read the helpful tips here. Thank you for your Ideas!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API for Get / Set viewport title line length & location

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?

7 Comments
Troy_Gates
Advocate

 Also add the ability to set the view title type via the API.

Anonymous
Not applicable

 hell yeah.

please...

Anonymous
Not applicable
Anonymous
Not applicable

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.

 

sasha.crotty
Community Manager
Status changed to: Implemented

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.
Tarek_K
Autodesk
Status changed to: Gathering Support
 
Tarek_K
Autodesk
Status changed to: Implemented
 

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea