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

Getting PolyCount data to another program

Sam Karli
Enthusiast

I'm about to write a sort of a project health checker script/addon that keeps track of basic project info like filesize, number of elements, number of SEO operations and similar. I'm asked to extract polygon count of the project that the Archicad has an addon for.

By (C++ API) documentation it is stated that one can communicate with Addons, so there is a theoretcial possibility of communicating with PolyCount if it's written to do so and, for example, I know its MDID.

Is there a possibility to do so?

Or, alternatively, is there a way (API function) to get the polycount of an element (wall, libpart, whatever)? (I mean something that will end the same polycount as the factory PolyCount addon gives back; reproducing its functionality).

 

Is there a way to get these counts programmatically?

 

I think now I can program Archicad in every possible way (C++, Python, whatever), so we can assume that there are no such limitations.

GDL/Python/C++ dev
1 REPLY 1

DavorP
Booster

Sign me up for beta testing! It's astonishing how little information BIM managers can get about the project out of a BIM software! And how many road blocks there are. Drawing manager can't export a report. No way to list model crippling SEO's. Polygon count tool exists, but again, no way to export results.

 

With polycount tool though - Archicad generates geometry based on a number of things. Model view options, layer interactions so depending on settings in those, polycount will be different.

I am currently looking for a way to do this outside Archicad, perhaps exporting to IFC and using another software to get element polycount along with an ID and merge the data afterwards. I've started using power BI to analyse a lot of data about the project. Attributes were one that works really well with power BI.

Graphisoft ArchiCAD certified BIM manager

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!