1 Reply Latest reply on Mar 2, 2016 7:53 AM by CarlosCanto

    how to change dxf color in Adobe illustrator CS5 using VB Scripting?

    prakashc43998828

      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