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 esri
Schematic Node Type esri
Schematic Link Type esri
Schematic Node On Link Type esri
Schematic S u b Link Type
geometry
: The type of geometry for the schematic elements in this sublayerType esri
Geometry Point esri
Geometry Polyline esri
Geometry 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:Container
Margin Container
Margin Unit Container
Left Margin Container
Right Margin Container
T o p Margin Container
Bottom Margin Container
Margin Symbols Flag Absolute
Position
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
}
]
}