Dear ESRI community
I'm trying to change the width of a CIMSolidStroke via arcade script. According to the CIMSymbol documentation the CIMSolidStroke contains a width property (cim-spec/docs/v3/CIMSymbols.md at main · Esri/cim-spec · GitHub)
Following is a snippet of the symbol
"symbol": {
"type": "CIMPolygonSymbol",
"symbolLayers": [
{
"type": "CIMSolidStroke",
"enable": true,
"primitiveName": "pn_width_4",
"capStyle": "Round",
"joinStyle": "Round",
"lineStyle3D": "Strip",
"miterLimit": 10,
"width": 0.3,
"color": [
0,
0,
0,
255
]
},
{
"type": "CIMSolidFill",
"enable": true,
"primitiveName": "pn_color_4",
"color": [
255,
255,
255,
255
]
}
],
"angleAlignment": "Map"
}
Within the style's dictionary script I'd like to change the width of this CIMSolidStroke with following line
if (level == 'G' || level == 'H'){
keys += keys + p1 + ';';
keys += 'po:pn_4|Size|25' + ';';
keys += 'po:pn_width_4|Width|6' + ';';
keys += 'po:pn_color_4|Color|' + Yellow + ';';
}
The end result in Qt Maps SDK looks like

As you can see, the 2 last symbols do change the size and color according to the arcade script, but not its CIMSolidStroke's Width.
Using the exact same style in ArcGIS Pro results in following symbols:

Here we can see that the CIMSolidStroke width is being changed according to the arcade script.
Is changing the CIMSolidStroke width via arcade simply not supported yet in the Maps SDK?
I attached some source files for an example QT project. It includes the sample.stylx file. Please put this file at <UserFolder>/ArcGIS/Runtime/Data/styles/sample.stylx.