Petri Posted October 23, 2007 Share Posted October 23, 2007 Is there a way to get the name of the colour used in an object? I can get the ColorIndex -number, but can't find a function for "ColorIndexToName". Quote Link to comment
Vectorworks, Inc Employee klinzey Posted October 23, 2007 Vectorworks, Inc Employee Share Posted October 23, 2007 Petri, You can use: Function IsUserColor(ColorIDX:Integer;Var ColorName:Dynarray of Char):BOOLEAN The function will return true if the color visable to the user in the document's color pallette. Quote Link to comment
Petri Posted October 23, 2007 Author Share Posted October 23, 2007 OK - thanks! (Does not seem to be in the Function Reference.) Quote Link to comment
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.