Export cropped room views as Image

Hello People,
I am trying to Export my cropped room views (using python script) as an Image which Ends up creating an blank PNG image.
Any Suggestions.


Cropped room view plans.dyn (6.0 KB)

What is the error?

Cropped Room Views are created inside Revit but Image Exported of These Views using node View.ExportASImage are Blank White PNG file.

Error says it cannot find Images in drive
1

Hi,

The View.ExportAsImage node expects a FilePath.
And there is a problem with the transactions that can be solved with Transaction.End / Start nodes