Cannot create terrain from Library Image Item

Cannot create terrain from Library Image Item

iklimis
Advocate Advocate
325 Views
4 Replies
Message 1 of 5

Cannot create terrain from Library Image Item

iklimis
Advocate
Advocate

Hello Forma Team,

I have encountered an issue where I cannot create  a terrain from a created Library item

although in my extension the texture gets created correctly, when a library image item is created i get an error about the "bounding box being infinity large" 

any idea what might be the issue?
Thanks


iklimis_0-1742820846317.png

iklimis_1-1742820938283.png

 

 

0 Likes
326 Views
4 Replies
Replies (4)
Message 2 of 5

caoimhe_loftus
Autodesk
Autodesk

 Hi - thanks for your message - can you confirm what format the file you are trying to convert is? This workflow is supported for .ifc, .obj and .dxf.

0 Likes
Message 3 of 5

iklimis
Advocate
Advocate

Yes , I use the Forma Sdk to upload a blod then the createElementV2 to create the element and the 

createItem to create the Library item(image) which I try to convert 

here is  the code to get an idea

Screenshot 2025-03-25 114527.png

iklimis_0-1742896095984.png

 

0 Likes
Message 4 of 5

caoimhe_loftus
Autodesk
Autodesk

Hi again, thank you for the additional information. I've asked a colleague to look into this for you.

0 Likes
Message 5 of 5

syed_ammar_abbas_naqvi
Autodesk
Autodesk

Hi @iklimis 

This can be related to the image corners and the boundary box not being correctly defined or not being in the same coordinate system.

 

Could you please verify the following:

 

  1. Ensure that the image corners are correctly defined and within the expected bounds.
  2. Check that the boundary box for the image is correctly set and matches the coordinate system required by your application.
If both of these aspects are properly configured and the issue persists, please share any additional details or code snippets related to the boundary box that might help in diagnosing the problem further.
0 Likes