Replies: 2 comments 1 reply
-
Hello again, even if it is an example with a line and then I continue. |
Beta Was this translation helpful? Give feedback.
-
I have been trying myself to the point of looking and recompiling the c code @belmotek
You would need to modify #define SET_ENT(var, name) I believe. But if you gotten this far, might as well write c code. |
Beta Was this translation helpful? Give feedback.
-
Hi.
Here I summarize what I have so far managed to get working and understand regarding the file needed for dwgadd.
1 ) The end of the carriage is "\r\n" and not "\n". Right?
2) There has to be at least one # header. Right?
3) Add a Line in this way line (1 2 0) (2 3 0) worked but this did not work
line (1 2 0) (2 3 0)
line.color = 3 (nor line.color = "3") // How to define a line color?
line.layer = "name" // How to define a line layer?
4) The dwgadd.example and the command dwgadd -o tmp.dwg dwgadd.example
Creates a 21 kb file called tmp.dwg but is necessary recover it in autocad in order to open it. next is possible open it, this is great, but how to add properly a line ? Then how to change the colors, layers and others properties for the new entities added??
Am I doing something wrong?
Does anyone have an example of this accessory file for dwgadd where the added entities have colors and layers?
Regards.
Beta Was this translation helpful? Give feedback.
All reactions