TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Pepe on August 20, 2020, 07:52:17 AM
-
A simple question:
My current editor color is set as a 'true color' (CECOLOR variable value is a string) and I need to translate it into an OLE color number.
Is there any easier way to get it rather than dealing with the string?
-
No direct conversion that I know of, but Lee Mac's LM:parsenumbers function makes handling the string easy.
-
Lee Mac has the answer. I hope I can post this link Lee.
http://www.lee-mac.com/colourconversion.html
-
Thank you both!
I know those useful Lee-Mac's works.
This is the way I get it dealing with the string and using Lee-Mac's stuff:
So, i was trying to find a shortcut... :whistling: