Convert 3D (Feature Service/Layer)

URL:
https://<root>/<serviceName>/FeatureServer/<layerId>/convert3D
Methods:
GET
Version Introduced:
11.1

Description

The convert3D operation is used to convert small assets from one format to another. Similar to the queryAssets operation, converted assets can be retrieved from either the response (esriTransportTypeEmbedded ) or as an asset reference (esriTransportTypeEmbedded ). Before performing the convert3D operation, assets must be uploaded using the uploadAssets operation.

Request parameters

ParameterDetails

transportType

Specifies how the assets will be retrieved. The default value is esriTransportTypeUrl

Values: esriTransportTypeUrl | esriTransportTypeEmbedded

targetFormat

The format in which the converted assets will be returned in the response.

Potential values: 3D_dae | 3D_dwg | 3D_fbx | 3D_glb | 3D_gltf | 3D_ifc | 3D_obj | 3D_shapebuffer | 3D_shapebufferg | 3D_usdc | 3D_usdz

assets

An array of assets describing the 3D object that the client wants to convert to the specified targetFormat value.

Syntax

1
2
3
4
5
6
7
8
9
10
[
  {
    "assetName": "<assetName1>",
    "assetHash": "<assetHash1>"
  },
  {
    "assetName": "<assetName2>",
    "assetHash": "<assetHash2>"
  }
]
1
2
3
4
5
6
[
  {
    "assetName": "model.fbx",
    "assetHash": "045ef29d382f1c8227bde3a25d37f7a62fe0d2259a3a14dd6486ee53c8faba18"
  }
]

f

The response format. The default response format is html .

Values: html | json | pjson

Example usage

The following is a sample request URL for the convert3D operation:

1
https://machine.domain.com/webadaptor/rest/services/City_Park_Assets/FeatureServer/0/convert3D

JSON Response syntax

1
2
3
{
  "assets": [<asset1>,<asset2>]
}

JSON Response example

1
2
3
4
5
6
7
8
9
10
{
  assets: [
    {
      "assetHash": "045ef29d382f1c8227bde3a25d37f7a62fe0d2259a3a14dd6486ee53c8faba18",
      "contentType": "model/gltf-binary",
      "assetName": "model.glb",
      "assetURL": "https://machine.domain.com/webadapter/rest/services/ESRI3DO/FeatureServer/0/assets/045ef29d382f1c8227bde3a25d37f7a62fe0d2259a3a14dd6486ee53c8faba18"
    }
  ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close