mechanical workspace black background?

white background color cant see object created specially sketch

Comments

  • If normally do 2D stuff in black and 3D stuff using a white background.
    Lisps for

    2D => switch to 2D env.
    3D => switch to 3D env.

    However, i need to get [GRAPHICSWINLAYOUTBACKGRNDCOLOR] fixed because BricsCAD does it diffent.

    My $

  • I use this:
    (defun c:BB ()
    (if (equal (getvar "TILEMODE") 0) ; if tilemode is Off, then we're in a layout tab (which can have non-tiled viewports)
    (if (equal (getvar "BKGCOLORPS") 7) (setvar "BKGCOLORPS" 256) (setvar "BKGCOLORPS" 7))
    (if (equal (getvar "BKGCOLOR") 7) (setvar "BKGCOLOR" 256) (setvar "BKGCOLOR" 7))
    )
    )

  • I see that the code I posted only works in 2D.
    Ans Background dialog is the only way to change it.

This discussion has been closed.