MastroLube Posted January 29, 2018 Posted January 29, 2018 Hi there! I want to ssget all the lines in that color 0,0,85 and delete them. I'm looking for the code to associate to the DXF 62 but i discovered that this number still be the same even if i change the color in another true color. (0,0,56) Command: (entget (car(entsel)))Select object: ((-1 . ) (0 . "LINE") (330 . ) (5 . "29010") (100 . "AcDbEntity") (67 . 0) (410 . "Model") (8 . "ARMAT_SUP_DIR_Y") (62 . 178 ) (420 . 56) (370 . 30) (100 . "AcDbLine") (10 1816.51 1450.07 0.0) (11 1816.58 1450.08 0.0) (210 0.0 0.0 1.0)) There is away to select them? I'm using autocad 2009 and don't have the "selectsimilar" so I've to write something via lisp. Thanks for your help, Dennis Quote
Grrr Posted January 29, 2018 Posted January 29, 2018 True color is associated under the 420 group code, also you need to convert that value to RGB. Quote
ronjonp Posted January 29, 2018 Posted January 29, 2018 That index color should change even if you apply a truecolor: Quote
MastroLube Posted January 29, 2018 Author Posted January 29, 2018 Thank you guys!! I didn't notice the group code 420, was looking only for the 62 I found that in the meantime: http://www.lee-mac.com/colourconversion.html Thank you again! Dennis Quote
ronjonp Posted January 29, 2018 Posted January 29, 2018 If you're just filtering them, GC 62 should work just fine. Quote
Lee Mac Posted January 29, 2018 Posted January 29, 2018 You're welcome Dennis, glad the conversion functions could help. If you're just filtering them, GC 62 should work just fine. I wouldn't rely on DXF 62 in this case, as there isn't a one-to-one mapping between RGB and ACI, but rather many RGB colours approximated to a single ACI. Quote
ronjonp Posted January 29, 2018 Posted January 29, 2018 You're welcome Dennis, glad the conversion functions could help. I wouldn't rely on DXF 62 in this case, as there isn't a one-to-one mapping between RGB and ACI, but rather many RGB colours approximated to a single ACI. Agreed .. never thought of it that way. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.