cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Archicad C++ API
About Archicad add-on development using the C++ API.

GSSError: ACAPI_ModelAccess_Get3dInfo on Complex Geometry after APIElementEventHandlerProc/EndEvents

Kalloc Studio Fuzor
Participant

Hello,

 

I am writing a plugin that does some processing on complex pieces of geometry like Curtain Walls. And I am running into an issue, where when I use a APIElementEventHandlerProc and then encounter a EndEvents, I go to query the document for the segments/frames/panels of said wall using ACAPI_ModelAccess_Get3dInfo. And all I get back is a GSSError. Interestingly, when I close the project, reload and query for the same geometry it's all there and accounted for; no GSSError.

It makes me wonder, is there some asynchronous processing yet to be completed/ transaction not committed, for complex entities causing the document query to return an error? If so how and when is does my plugin know when the time is right to retrieve that information.

Thanks for your help in advanced.

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!