We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2023-09-20 10:01 AM - last edited on 2024-09-16 02:43 PM by Doreena Deng
Hi,
I have a requirement of exporting element list which exists only in that particular view.
Consider a case:
1. A project is created with simple elements/features like wall, door, window etc
2. When a new element is added it should come in the exported list for that view
Currently all element details are exported out. We need only specific to that view.
Please help resolve this.
Thanks & Regards
2023-09-20 10:09 AM
Are you asking for help in developing an add-on to do this?
Or is it just a wish?
Either way I will move the post to the correct forum as it has nothing to do with the Technology Preview.
Barry.
2023-09-20 10:25 AM
Hi Barry,
Thanks for replying.
No I do not need help developing an AddOn on this, I just need a API method call for my requirement.
And also no, it is not a wish.
Regards
2023-09-20 10:30 AM
@cad developer wrote:
I just need a API method call for my requirement.
OK, I have moved the post to the API forum.
Hopefully someone can help you.
Barry.
2023-09-25 11:08 PM
Hi!
I assume you are using ACAPI_Element_GetElemList right?
Did you try using filter bits already. A good start is probably APIFilt_OnVisLayer
and maybe also APIFilt_OnActFloor
and APIFilt_IsVisibleByRenovation
. Flags can be combined with |
(logical OR).
For different views (floor plans vs. 3D views vs. section/elevation) you might need different filter bits. But I think it depends a lot on what Archicad features you are using in the views.
Hope that helps! Feel free to add more details of your situation if the above doesn't apply.