BIM Coordinator Program (INT) April 22, 2024
Find the next step in your career as a Graphisoft Certified BIM Coordinator!
Archicad C++ API
About Archicad add-on development using the C++ API.
SOLVED!

How to get solid operation substraction volumn?

leilei
Enthusiast
Hi,
I cut an entity element with a mesh and a column. Now I want to get the mesh hole volumn through the API functions.How to get it?
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Akos Somorjai
Graphisoft
Graphisoft
leilei wrote:
Hi,
I cut an entity element with a mesh and a column. Now I want to get the mesh hole volumn through the API functions.How to get it?
Hi,

There's no function on the API to give you that. What you can do is to get the volume of the mesh before and after the cutout, and subtract the two.

Best, Akos

View solution in original post

2 REPLIES 2
Solution
Akos Somorjai
Graphisoft
Graphisoft
leilei wrote:
Hi,
I cut an entity element with a mesh and a column. Now I want to get the mesh hole volumn through the API functions.How to get it?
Hi,

There's no function on the API to give you that. What you can do is to get the volume of the mesh before and after the cutout, and subtract the two.

Best, Akos
leilei
Enthusiast
Hi Akos,
Yes, I created a new mesh with the same mesh and deleted it after getting the original volume.
Learn and get certified!

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!