Retrieve location of title on sheet viewport ?

Retrieve location of title on sheet viewport ?

mr.engineer.aec
Advocate Advocate
386 Views
4 Replies
Message 1 of 5

Retrieve location of title on sheet viewport ?

mr.engineer.aec
Advocate
Advocate

 Hi guys,

 I want to retrieve location point of title text of a view on sheet.

 I i didn't find anything Revit API for this.

 How can i solved this issue ?

 Thank in advanced !

mrengineeraec_0-1660536779879.png

 

0 Likes
387 Views
4 Replies
Replies (4)
Message 2 of 5

svein.horve
Contributor
Contributor

Hi, looks like these two values are related to the text position:

 

Viewport LabelOffset and GetLabelOutline.

sveinhorve_1-1660550701804.png

 

0 Likes
Message 3 of 5

mr.engineer.aec
Advocate
Advocate

Thank for reply,
But seem it's not feasibility because haven't Set method.

mrengineeraec_0-1660553856091.png

 

0 Likes
Message 4 of 5

svein.horve
Contributor
Contributor

Did you try the LabelOffset property? This looks like it can be changed.

 

sveinhorve_0-1660556085510.png

 

GetLabelOutline Method (revitapidocs.com)

Message 5 of 5

mr.engineer.aec
Advocate
Advocate

 Thank @svein.horve 

 I'll check it