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 ID 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 Sub 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
Top 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>"
}
]
}