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)feature: The feature class ID related to the sublayer (Long)Class I D element: The type of the schematic elements in this sublayerType esriSchematic Node Type esriSchematic Link Type esriSchematic Node On Link Type esriSchematic S u b Link Type
geometry: The type of geometry for the schematic elements in this sublayerType esriGeometry Point esriGeometry Polyline esriGeometry Polygon
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 ContainerMargin Unit ContainerLeft Margin ContainerRight Margin ContainerT o p Margin ContainerBottom Margin ContainerMargin Symbols Flag AbsolutePosition
value: The attribute value
{
"id": <sublayerId>,
"name": "<sublayerName>",
"featureClassID": <sublayerFeatureClassID>,
"elementType": "esriSchematicNodeType" | "esriSchematicLinkType" | "esriSchematicNodeOnLinkType" | "esriSchematicSubLinkType",
"geometryType": "esriGeometryPoint" | "esriGeometryPolyline" | "esriGeometryPolygon"
"attributes": [
{
"name": "<attribute1Name>",
"value": "<attribute1Value>"
},
...
{
"name": "<attributeNName>",
"value": "<attributeNValue>"
}
]
}{
"id": 3,
"name": "ISP_PIPES",
"featureClassID": 32,
"elementType": "esriSchematicLinkType",
"geometryType": "esriGeometryPolyline"
"attributes": [
]
}{
"id": 1,
"name": "ISP_Equipments",
"featureClassID": 31,
"elementType": "esriSchematicNodeType",
"geometryType": "esriGeometryPoint"
"attributes": [
{
"name": "ContainerMargin",
"value": "3"
},
{
"name": "ContainerMarginSymbolsFlag",
"value": "1"
}
]
}{
"id" : 4,
"name" : "NOL1",
"featureClassID" : 36,
"elementType" : "esriSchematicNodeOnLinkType",
"geometryType" : "esriGeometryPoint"
"attributes" : [
{
"name": "AbsolutePosition",
"value": null
}
]
}