How to specify the url to the 3D Model Symbol(Json file) to the href property of ObjectSymbol3DLayer

2889
4
05-09-2016 05:08 AM
kishorekumar1
New Contributor II

I have created the 3D Model symbol(json file) from ArcGIS Pro.I need to give the url of this 3D Model symbol(json file) to the "href"  property of ObjectSymbol3DLayer in ArcGIS api for javascript 4.0. Any example can help me in this regard.

Regards,

Kishore Kumar

Mobile:9885740944

Tags (1)
0 Kudos
4 Replies
kishorekumar1
New Contributor II

Kristian Ekenes​,

Please guide me in this regards.

Appreciate your support!

Regards,

Kishore

0 Kudos
KristianEkenes
Esri Regular Contributor

I don't have a sample of this, but I can give it a shot. Do you have a public URL to the 3D model json you'd be willing to share?

0 Kudos
VIKRANTKRISHNA
New Contributor III

Hi Kishore,

                  I have been trying to do the same thing, but had no luck. I followed this link arcgis-pro-sdk-community-samples/Map-Authoring/ExportWeb3DObjectResource/ExportWeb3DObjectResource a...​ but it didn't worked for me. I have building footprints layer with height info, I was able to extruce and symbolize in ArcGIS Pro, but export tool doesn't work for me.

Do you know what rule package you used to symbolize in ArcGIS Pro?

Any help appreciated!!

0 Kudos
nicogis
MVP Frequent Contributor

I have exported json from arcgis pro (ExportWeb3DObjectResource add-in) and I have added with api js

Here you can see a simple sample (a graphic)  : Sample ExportWeb3dobjectResource

0 Kudos