The Global Archicad Community

Stay informed. Get help. Share your knowledge.

Discussions about using GRAPHISOFT's tools (Archicad API, BIMx API, BIMcloud API) for independent software developers

Moderators: Karl Ottenstein, LaszloNagy, ejrolon, Barry Kelly, Gordana Radonic, nbalogh, mnguyen, gkmethy, rmasaki, Viktor Kovacs, MOREH Tamas, Akos Somorjai, Ed Brown, Mihály Palenik, Tibor Lorántfy

By Erenford
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?