I am using following code snippet for changing dxf color, but it's not working.
Could you please help me out with this?
Any help would be appreciable, Thanks in advance.
Set appRef = CreateObject("Illustrator.Application")
Set newFillColor = CreateObject("Illustrator.RGBColor")
WScript.Echo "newFillColor = " & newFillColor
newFillColor.Red = 255
newFillColor.Green = 204
newFillColor.Blue = 51
frontPath.Filled = True
frontPath.fillColor = newFillColor
do you get any error messages?
try getting a reference to "frontPath" first, it's not declared.