Message 1 of 12
Disabling Cast Shadows and Ambient Shadows

Not applicable
02-28-2017
09:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to turn cast shadows and ambient shadows on project views off. The purpose is to ensure that vector printing can occur, because in Revit, if there are shadows or ambient occlusions, or anything that is not hidden line or consistent color (2017+), Revit will print as raster (without a warning), even if you ask for vector. This becomes an issue in BIM 360 Docs, and DWF, PDF printing since raster quickly loses resolution as you zoom in. In 360 and DWF, this means, you can't actually click on objects and see their properties which is quite unfortunate.
Using Dynamo and Archi-lab packages, I have been able to deal with the hidden line setting via builtin parameter overriding, but from my research, it sounds like maybe it is not possible to turn off shadows/ ambient occlusions in the View Styles -> Graphic Display Options using exclusively the API.
I understand the workaround would be to create a view template with hidden line, shadows and ambient shadows off and then apply it to the views, but I was hoping for a solution that could harness the API in its entirely rather than having to open two projects, transfer project standards, etc. Regardless, it would be nice to at least be able to do some error checking on the user end, if Autodesk is unable to before printing/exporting to avoid this issue.