Archicad C++ API
About Archicad add-on development using the C++ API.
SOLVED!

Is there any api function to modify morphs?

Archein
Contributor

Hello everyone,

I'm trying to union morphs and merge faces to get the boundary,

which is more intuitive than convex hull and concave hull, I think. 

 

But I can't find which api function is possible to achieve this.

Otherwise, I'll write a merge function.

 

Any advice would be appreciated.

 

Screenshot 2024-06-24 115854.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
LChen
Graphisoft
Graphisoft

Hi,

I'm afriad you cannot find API function for morph same as 'Smooth & Merge Faces'... but if you'd unify polygons maybe you can use api Geometry::UnifyPolygon2DData() function.

HTH.

View solution in original post

2 REPLIES 2
Solution
LChen
Graphisoft
Graphisoft

Hi,

I'm afriad you cannot find API function for morph same as 'Smooth & Merge Faces'... but if you'd unify polygons maybe you can use api Geometry::UnifyPolygon2DData() function.

HTH.

Archein
Contributor

Thanks,I'll give it a try.👍