Schematic Sublayer Object

Overview

This topic discusses the JSON representation of Schematic Sublayer objects.

A Schematic Sublayer Object provides the following information:

  • id: The sublayer id in the schematic layer (Long)
  • name: The sublayer name (String)
  • featureClassID: The feature class ID related to the sublayer (Long)
  • elementType: The type of the schematic elements in this sublayer
    • esriSchematicNodeType
    • esriSchematicLinkType
    • esriSchematicNodeOnLinkType
    • esriSchematicSubLinkType
  • geometryType: The type of geometry for the schematic elements in this sublayer
    • esriGeometryPoint
    • esriGeometryPolyline
    • esriGeometryPolygon
  • attributes: An array of attributes that may be set for the schematic elements in this sublayer and can be useful to manage schematic features editing. This array is empty in most of the cases. It only returns some very specific attributes when they are configured on the related schematic feature class. The returned attributes are usually configured on containers or node-on-links schematic features. Each attribute item has the following information:
    • name: The attribute name. When they are configured on the related schematic feature class, the following attribute names are returned:
      • ContainerMargin
      • ContainerMarginUnit
      • ContainerLeftMargin
      • ContainerRightMargin
      • ContainerTopMargin
      • ContainerBottomMargin
      • ContainerMarginSymbolsFlag
      • AbsolutePosition
    • value: The attribute value
Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  "id": <sublayerId>,
  "name": "<sublayerName>",
  "featureClassID": <sublayerFeatureClassID>,
  "elementType": "esriSchematicNodeType" | "esriSchematicLinkType" | "esriSchematicNodeOnLinkType" | "esriSchematicSubLinkType",
  "geometryType": "esriGeometryPoint" | "esriGeometryPolyline" | "esriGeometryPolygon"
  "attributes":  [
    {
      "name": "<attribute1Name>",
      "value": "<attribute1Value>"
    },
    ...
    {
      "name": "<attributeNName>",
      "value": "<attributeNValue>"
    }
  ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.