Got a minute? We appreciate your feedback:

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

Polygon input with fixed number of vertices

BenjiDev
Enthusiast

Hello, 

Using polygon input as described here:

https://archicadapi.graphisoft.com/documentation/apiio_getpolyid

Is it possible to programatically cancel the polygon input when the polygon has reached a set number of vertices? 

I know it possible to register a callback that is triggered for every vertex that is added. Using this callback my idea is to count the number of times it has been called and cancel the operation when it has reached a certain count. But I cannot find anything regarding "cancelling the operation" though.

 

 

0 REPLIES 0

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!