How to get IonResource id 1240402

I am a newbie, I am learning to use Cesium through https://sandcastle.cesium.com/, but when I run this line of code const tileset = await Cesium.Cesium3DTileset.fromIonAssetId(1240402); returns 401, I know my token cannot To access this resource, I would like to know how can I have permission to access this resource, or can it be downloaded locally?

Hi @wanghai1988,

Could you please describe your use case and what you are trying to achieve with this particular asset? But to also better understand what errors you may be seeing would be able to share a sandcastle link?

You won’t be able to download the asset locally but if you are trying to create a sandcastle with this tileset you shouldn’t need a token. See a sample sandcastle with this asset: Cesium Sandcastle

Thanks,
Ankit

@Ankit_Trehan The same Problem. How can i download the asset which one ID is 1240402?

Hi,

Do you want to download the asset locally or view it on sandcastle? Like I said in my previous message you won’t be able to download the asset locally through sandcastle. Please describe what your desired outcome is in more detail with trying to download the asset locally so that we can assist you better.

Thanks,
Ankit

@Ankit_Trehan OK, i want to download the asset locally, maybe you can email to me the asset directly also.
And, can you tell me, which type is this asset? I can not detail the asset in CesiumIon.

Hi,

Can you please describe why you want to download the asset locally or your use case for it? It will help us to provide better support to you.

This is a BIM/CAD model that is now converted to 3D Tiles. The reason it doesn’t show up on your account is that it isn’t a shared asset depot asset.

Thanks,
Ankit

@Ankit_Trehan I just want to see data structure of this type. It’s just a personal thought. Maybe i’m digging into model, and i can’t describe my reason in detail.
And, my BIM data have not a better data processing scheme, It’s complex, multi-level.