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

Zone trimming API question

Anonymous
Not applicable
Is there a way to trim and undo the trim of a zone via the API?

Thanks,
Greg
3 REPLIES 3
Anonymous
Not applicable
Hello,

What do you mean by trim? Zones can be adjusted (including their coordinates using the api functions if this is what you mean?

HTH,
Adam
Anonymous
Not applicable
I do realize that you can adjust the individual coordinates. What I am hoping for is an API accessible way to do the same thing that is accomplished via the Trim Zone dialog in the user interface -- select the zone, tell ArchiCAD whether you want to trim the top or base of the zone and then ArchiCAD adjusts all of the zone coordinates automatically.

-Greg
Akos Somorjai
Graphisoft
Graphisoft
Greg,

There isn't any such function in the API. You can modify the zone and related memo data, though. The cut is accomplished through the 'gables' member of API_ElementMemo.

HTH,

Akos