2026-02-22 11:31 AM
Hi everyone,
I am looking for a minimal, practical example of how to create an API element in Archicad (such as API_HatchType, API_MeshType, or API_MorphType) that can represent a textured convex quadrilateral and is also visible on the floor plan.
The geometry is straightforward: I already know the 3D coordinates of the four vertices (all with zero z-components). The texture is provided as a PNG file, and for simplicity, the texture coordinates can be assumed to map directly to the four corners of the image.
Has anyone implemented something similar or could share a simple code example demonstrating:
how to construct such an element via the API,
how to assign the PNG texture to it.
Any guidance or sample code would be greatly appreciated.
4 weeks ago
Hi,
I'll consult with a developer and come back to you with some ideas.
Regards,
Tamás
Thursday
Hi,
Just one quick question, what would be the purpose of the placed texture? Because if it's horizontal, like placing a building on a street map, then the figure tool is the best method.
Regards,
Tamás