Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

A possible indirect method to Move title of a viewport

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
605 Views, 0 Replies

A possible indirect method to Move title of a viewport

This post floats a crazy idea to do what seems impossible: position a viewport title.

 

While making something that repositions the draw order for all the viewports on a sheet to one's liking the following items come into play in some fashion. I believe they provide good background material for this idea.

 

The issue of knowing the true viewport position on the sheet in context with coincident viewport overlays: 

http://thebuildingcoder.typepad.com/blog/2013/10/exact-viewport-positioning-conceptual-design-automa...

 

http://thebuildingcoder.typepad.com/blog/2015/10/sheet-to-model-coordinate-conversion.html

 

One of many posts about how it is not possible to move a viewport title using the API: 

http://forums.autodesk.com/t5/revit-api-forum/move-title-of-a-viewport/td-p/5598602

 

The concept behind repositioning viewport draw order:

http://thebuildingcoder.typepad.com/blog/2016/12/viewport-bring-to-front-and-c-revit-add-in.html

 

The method used for viewport draw order change, which is basically a viewport recreation, seems to result in the viewport's title to move and reshape according to the new viewport's internal view's view crop. This is an undesirable side affect.

 

An indirect method to reposition the viewport title seems possible by manipulating the viewport's internal view's view crop into a temporary state prior to a draw order change to affect the desired viewtitle position and length. In other words let the undesirable side affect in the draw order change do the work to position the viewtitle. The final step would reset the viewport's internal view's view crop back to what it is supposed to be. I am wondering if anyone has tried this?

 

 

0 REPLIES 0

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community