cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a Textured Convex Quadrilateral via the Archicad API

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.

1 Reply 1
Tamas Polyak
Graphisoft
Graphisoft

Hi,

I'll consult with a developer and come back to you with some ideas.

 

Regards,

Tamás

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!