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.

Creating 3D Document filtered with marquee

Erenford
Booster
Greetings, I'm trying to replicate thru code the creation of 3D document from floor plan with a marquee filter like when you manually create a marquee then right-click New 3D Document from Floor Plan.

I've managed to create a 3D Document using ACAPI_Database (APIDb_NewDatabaseID) and setting its filter mode to API_FilterByMarqueeAndRules although I'm not sure where I would put the marquee data in API_DocumentFrom3DType.
I tried manually creating one, dump its values (whole API_DocumentFrom3DType structure), then create one thru code using the values of the manual one, but the output didn't have a marquee.

Any help? Where should I set the filter? Or is 3D document not supported yet?
Archicad 25 5010 INT FULL
Archicad 26 5002 INT FULL
Visual Studio Professional 2019
Win 10 Pro 64-bit
0 REPLIES 0
Learn and get certified!