Setting color in objects #606
Lukideluki
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am doing a system to transform a DXF in txt code and be able to get the txt code and reverse, creating a DXF.
I am havving trouble with seting the color, because a get the color in Hexdecimal but i cant put it again, because just found a index method, by the code bellow:
msp.add_lwpolyline(line_mod, dxfattribs={'color': 1}) # add a LINE
there is another way to get and set in the add_lwpolyline the same hex that i get? I get couple of coordiantes and draw each object by a .add_lwpolyline
Beta Was this translation helpful? Give feedback.
All reactions