2D drawing file to Monochrome in Forge viewer

34 Views Asked by At

I want to change the color DWG to monochrome in the Forge viewer. Is there any option to change it to monochrome? enter image description here

1

There are 1 best solutions below

3
Xiaodong Liang On BEST ANSWER

you can use the method setGrayscale to switch to black and white

viewer.setGrayscale(true)

The other method setSwapBlackAndWhite could swap the background and front color