ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.CIM Namespace / Object3DRenderingMode Enumeration
Example Example

In This Topic
    Object3DRenderingMode Enumeration
    In This Topic
    Specified how features are drawn.
    Syntax
    Members
    MemberDescription
    None Features drawn normally.
    Wireframe Features are drawn as wireframe.
    Example
    Get all the Filters that Contain WireFrame Blocks
    {
      // Note: call within QueuedTask.Run()
      {
        //Note: wire_frame_filters can be null in this example
        var wire_frame_filters = bsl.GetFilters().Where(
          f => f.FilterBlockDefinitions.Any(
            fb => fb.FilterBlockMode == Object3DRenderingMode.Wireframe));
        //substitute Object3DRenderingMode.None to get blocks with a solid mode (default)
        //and...
        //fb.FilterBlockMode == Object3DRenderingMode.Wireframe &&
        //fb.FilterBlockMode == Object3DRenderingMode.None
        //for blocks with both
      }
    }
    Modify BuildingSceneLayer Filter Block
    {
      // Note: call within QueuedTask.Run()
      {
        var filterBlock = new FilterBlockDefinition();
        filterBlock.FilterBlockMode = Object3DRenderingMode.Wireframe;
    
        var selectedValues = new Dictionary<string, List<string>>();
        //We assume QueryAvailableFieldsAndValues() contains "Walls" and "Doors"
        //For 'Category'
        selectedValues["Category"] = new List<string>() { "Walls", "Doors" };
        filterBlock.SelectedValues = selectedValues;
    
        //Overwrite
        filter.FilterBlockDefinitions = new List<FilterBlockDefinition>() { filterBlock };
        bsl.UpdateFilter(filter);
      }
    }
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             ArcGIS.Core.CIM.Object3DRenderingMode

    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also