Solved

How to change the MPolygon Fill color in DWGStyler transformer

  • 31 January 2018
  • 2 replies
  • 6 views

Badge

Hi @erik_jan, @ciarab

Is there any option in DWGStyler Transformer to change the MPolygon fill color?, I've the ROUTE feature which is displaying the right color HTML: #c0c0c0 .

I need the 'MPolygon with fill pattern' color to be displayed the same HTML: #c0c0c0, currently i'm selecting the 'Fill Pattern name' as solid and the output of it is displayed as shown in the attached snapshot (Outer boundary as color #c0c0c0 and inner polygon filled with black. Is there a way i could change the inner polygon color to the same as outer boundary color-#c0c0c0.

Any help would be appreciated.

Regards, Anil.

icon

Best answer by fmelizard 31 January 2018, 17:48

View original

2 replies

Userlevel 4
Badge +13

Hi @anilkb1105,

I think here you may need to use a FeatureColourSetter after the DWGStyler. It does look like there is a limitation with the DWGstyler here. I tested the FeatureColorSetter and the fill color was picked up by the DWG writer. Attached is an example.

mpolygonwithfill.fmw

Badge

Thank you @MattAtSafe, its working fine after adding the FeatureColourSetter transformer to the DWGStyler output. Is there a possibility of addressing this limitation in DWGStlyer transformer itself.

Thank you for your help here.

Reply