Hi,
Is there any way to enable or disable shadow casting in a specific view ?
We can modify almost all view's Graphic Display Options using this methods:
View view = ... view.SetBackground(ViewDisplayBackground.CreateSky()); view.GetSketchyLines().EnableSketchyLines = true; view.DisplayStyle = DisplayStyle.HLR;
But I can't see anything related to options "Cast Shadows" and "Show Ambient Shadows"
Where are these options hidden in the API ?
Btw, I can't see neither a way set a view's background to None
There is
ViewDisplayBackground.CreateSky()
ViewDisplayBackground.CreateGradient(...)
ViewDisplayBackground.CreateImage(...)
But I don't see any "CreateNone()" and calling view.SetBackground(null) throws an Exception
Thanks
I am going to make an assumption that enabling shadows and ambient occlusion and well as ambient light intensity is not possible via API. Can someone correct me if I am wrong? Thanks!
Hello,
Is there any news about the missing API to activate [Shadows On] & [Ambient Light] ?
I don't see improvement on Revit-2021.
Can someone correct me if I am wrong?
Thanks!
Can't find what you're looking for? Ask the community or share your knowledge.