Community
Forma Developer Forum
Welcome to Autodesk Forma Developer Forum. Share your knowledge, ask questions, and explore popular Forma API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting the gross area and frontage linear for each floor - FORMA

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
helpBJ5T4
245 Views, 2 Replies

Getting the gross area and frontage linear for each floor - FORMA

Hello,

 

I am writing an embedded view  addin for Forma. I need to get the following data for each floor

- the surface of the floor 

- the height of the floor

- the fontage linear of the floor 

 

What is the methods to get this data from the selectedPath or selected element  ? 

Many thanks in advance,

Benoit

2 REPLIES 2
Message 2 of 3
havard.hoiby
in reply to: helpBJ5T4

Hi Benoit. Cool to hear that you're writing an extension 🙂 

There are two representations that you can look at for this. The grossFloorAreaPolygon  and the experimental volume25DCollection.

When you use these representation APIs then you need to apply transforms to the geometry as described here. We also have a geometry api  and an experimental version for the volume25DCollection where the transform is already applied.  

 

Please let me know if you are not able to solve your case with these apis 🙂

 

- Håvard

Message 3 of 3
benoit_lehnig
in reply to: helpBJ5T4

Hello Havard,

 

Many thanks for your answer, I will try your solution and let you know! 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Technology Administrators