Skip to main content
Solved

How to change the MPolygon Fill color in DWGStyler transformer


Forum|alt.badge.img

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.

Best answer by fmelizard

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

View original
Did this help you find an answer to your question?

2 replies

fmelizard
Safer
Forum|alt.badge.img+18
  • Safer
  • Best Answer
  • January 31, 2018

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


Forum|alt.badge.img
  • Author
  • February 1, 2018

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings