Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've tried setting the EnableDepthCueing Property to true and false and it doesn't work. I tested in versions 2020 to 2025 Preview. Test with this macro on an elevation view with no template:
public void EnableDepthCueing()
{
UIDocument uidoc = this.ActiveUIDocument;
Document doc = uidoc.Document;
var depthCueing = doc.ActiveView.GetDepthCueing();
using (Transaction t = new Transaction(doc, "Turn on depth cueing"))
{
t.Start();
depthCueing.EnableDepthCueing = true;
t.Commit();
}
}
Set EnableDepthCueing false to turn off. Please fix. Thanks.
Solved! Go to Solution.