Developer forum
Showing results for 
Search instead for 
Did you mean: 

Creating 3D Document filtered with marquee

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 3002 INT FULL
Archicad 24 6004 INT FULL
Visual Studio Professional 2019
Win 10 Pro 64-bit (10.0 build 19043)
Intel Core i7-4790 CPU @3.60GHz

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!