Revit geometry preview using c#

Hello all,

Checking if anyone knows which API does dynamo use to create geometry previews in Revit (See image) .

Hope to create the same effect while coding in C#.


Look at GeometryElement.SetForTransientDisplay()

1 Like

Hey Thomas,

Thanks for replying! However, its odd that I cant seem to find it in the docs.

This was the most similar subject i found, is this what you were referring to?

thanks :slight_smile:

1 Like

Yep thats the one.

Hey Thomas,

Tried messing around with it but to no avail, have you tried it before?
I did some digging and found this.