Drawing a text on the GUI

Drawing a text on the GUI

nle-bret
Explorer Explorer
463 Views
2 Replies
Message 1 of 3

Drawing a text on the GUI

nle-bret
Explorer
Explorer

Hello

Currently, I am making a plugin for Revit, I use C # and I would like to know how to write / draw text on the graphic interface in overlay.

 

Do you have a sample code?

 

I have already done this work for Navisworks, here is the example i would like for Revit:

nav.JPG

0 Likes
464 Views
2 Replies
Replies (2)
Message 2 of 3

nle-bret
Explorer
Explorer

Anyone have info ? How can I display text over the Revit GUI ?

0 Likes
Message 3 of 3

jeremytammik
Autodesk
Autodesk

You mean display a text that only appears visually hovering over the Revit user interface, but has nothing to do with the Revit model or anything else related to Revit?

 

Sorry, the Revit API does not provide any support for such a thing.

 

You will have to resort to the pure Windows API for that, or some generic .NET libraries or other tools.

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes