Skip to main content
Question

Convert image symbol from CIM JSON to DXF/DWG format

  • October 9, 2025
  • 2 replies
  • 61 views

willydevera
Contributor
Forum|alt.badge.img+9

Hi,

I would like to convert an image symbol from Esri CIM JSON to AutoCAD DWG format.

 

The JSON file looks like this:

 

{
  "type": "CIMPointSymbol",
  "symbolLayers": [
    {
      "type": "CIMCharacterMarker",
      "enable": true,
      "anchorPoint": {
        "x": 0,
        "y": 0,
        "z": 0
      },
      "anchorPointUnits": "Relative",
      "dominantSizeAxis3D": "Y",
      "offsetX": -3.3333333333333335,
      "size": 5.555555555555556,
      "billboardMode3D": "FaceNearPlane",
      "characterIndex": 85,
      "fontFamilyName": "Tahoma",
      "fontStyleName": "Regular",
      "fontType": "TTOpenType",
      "scaleX": 1,
      "symbol": {
        "type": "CIMPolygonSymbol",
        "symbolLayers": [
          {
            "type": "CIMSolidStroke",
            "enable": true,
            "capStyle": "Round",
            "joinStyle": "Round",
            "lineStyle3D": "Strip",
            "miterLimit": 4,
            "width": 0,
            "height3D": 1,
            "anchor3D": "Center"

:

:

],
  "haloSize": 1,
  "scaleX": 1,
  "angleAlignment": "Display"
}

 

I need help in how FME JSON transformers are to be configured or set in order to save the image symbol as in AutoCAD DWG/DXF format.

 

Many thanks in advance,

 

Willy 

2 replies

crystalwang
Safer
Forum|alt.badge.img+14
  • Safer
  • November 11, 2025

Hi ​@willydevera,

Apologies for the delayed response, and thank you for your patience.

Converting an Esri CIM JSON symbol definition directly into a DWG file using FME is possible, but it requires some manual configuration. The workflow below outlines the general approach to get you started, though it’s worth noting that not all CIM properties may be represented exactly in DWG.

To begin, create a point feature and attach the CIM JSON to it. You can use a Creator transformer to generate a point geometry, followed by an AttributeCreator to store the CIM JSON snippet as an attribute. Next, use the JSONExtractor to parse the necessary properties from the CIM structure using appropriate JSON queries. The JSONFragmenter documentation provides helpful information on building queries, and you may also find this Safe Software article on transforming JSON useful for understanding how these transformers work together.

Once you’ve extracted the relevant properties, you can convert them into DWG-compatible attributes to reproduce the symbol in AutoCAD. Use transformers such as AttributeManager to map extracted values to the proper DWG format attributes, and DWGStyler to define styling attributes. The list of supported DWG format attributes and their expected value ranges can be found in the DWG Feature Representation documentation. Finally, add an AutoCAD DWG Writer to output the symbol to a DWG file. 

This process allows you to reconstruct basic symbology from a CIM JSON into a DWG format. However, keep in mind that certain CIM properties don’t have direct equivalents in DWG and may not transfer perfectly.

I hope this provides a good starting point for your workflow. Let us know how it goes or if you have any follow-up questions!


willydevera
Contributor
Forum|alt.badge.img+9
  • Author
  • Contributor
  • November 14, 2025

Thanks ​@crystalwang for your response. Will try them out & update you.