Hi.
First of all excuse 'nil' knowledge of C since I have just started
trying to use the library with Extern, export or whatever is the correct
name of the method.
My name is Martín Belmonte (belmotek) and I am one of the GauchoCAD [1]
developers.
I made a module to try to do something with the C library in Gambas[2],
but as expected it doesn't work :-(
My goals are the following:
1) Read DWG and DXF files
2) List all entities and their properties
3) Write DWG DXF with these altered properties.
As I am learning I will go step by step.
What functions and structures should I use for, for example, create a
list of layers?
Some of Gambas development team can help but we need to know what
functions we should use.
[1] https://github.com/tercoide/GauchoCAD
[2] https://gitlab.com/gambas/gambas
Note: Actually I use a lot of code to parse the extracted text file with
the dwgread tool in the terminal, but it is not the optimal way I guess.
Thank you very much in advance.
Martín.