Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

COMSOL 4.2a Background Color

Please login with a confirmed email address before reporting spam

Is there a way to change the light blue background of COMSOL 4.2 to plain white in the main view? Thanks.

6 Replies Last Post 5 oct. 2015, 21:27 UTC−4
COMSOL Moderator

Hello Nima Zirak

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.


Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 14 févr. 2012, 11:13 UTC−5
we are also would like to know how to change it....
we are also would like to know how to change it....

Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 21 nov. 2014, 08:40 UTC−5
You change the canvas (i.e. 3D background color) by editing the target of your COMSOL icon:
"C:\Program Files\COMSOL\COMSOL50\Multiphysics\bin\win64\comsol.exe" -Dcs.canvascolor=255,255,120,255,255,204
where 255,255,120 is the RGB code for the color you want at the top of the Graphics window, and 255,255,204 is the RGB code for the color you want at the bottom of the Graphics window. 255,255,255 is white; 0,0,0 is black.

This works, I believe, for all versions since 4.0.

Jeff
You change the canvas (i.e. 3D background color) by editing the target of your COMSOL icon: "C:\Program Files\COMSOL\COMSOL50\Multiphysics\bin\win64\comsol.exe" -Dcs.canvascolor=255,255,120,255,255,204 where 255,255,120 is the RGB code for the color you want at the top of the Graphics window, and 255,255,204 is the RGB code for the color you want at the bottom of the Graphics window. 255,255,255 is white; 0,0,0 is black. This works, I believe, for all versions since 4.0. Jeff

Please login with a confirmed email address before reporting spam

Posted: 10 years ago 5 avr. 2015, 08:13 UTC−4

You change the canvas (i.e. 3D background color) by editing the target of your COMSOL icon:
"C:\Program Files\COMSOL\COMSOL50\Multiphysics\bin\win64\comsol.exe" -Dcs.canvascolor=255,255,120,255,255,204
where 255,255,120 is the RGB code for the color you want at the top of the Graphics window, and 255,255,204 is the RGB code for the color you want at the bottom of the Graphics window. 255,255,255 is white; 0,0,0 is black.

This works, I believe, for all versions since 4.0.

Jeff


This is great, I have a follow up question, how do you control the color of the grid?

Thank you,

[QUOTE] You change the canvas (i.e. 3D background color) by editing the target of your COMSOL icon: "C:\Program Files\COMSOL\COMSOL50\Multiphysics\bin\win64\comsol.exe" -Dcs.canvascolor=255,255,120,255,255,204 where 255,255,120 is the RGB code for the color you want at the top of the Graphics window, and 255,255,204 is the RGB code for the color you want at the bottom of the Graphics window. 255,255,255 is white; 0,0,0 is black. This works, I believe, for all versions since 4.0. Jeff [/QUOTE] This is great, I have a follow up question, how do you control the color of the grid? Thank you,

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 4 oct. 2015, 03:47 UTC−4

You change the canvas (i.e. 3D background color) by editing the target of your COMSOL icon:
"C:\Program Files\COMSOL\COMSOL50\Multiphysics\bin\win64\comsol.exe" -Dcs.canvascolor=255,255,120,255,255,204
where 255,255,120 is the RGB code for the color you want at the top of the Graphics window, and 255,255,204 is the RGB code for the color you want at the bottom of the Graphics window. 255,255,255 is white; 0,0,0 is black.

This works, I believe, for all versions since 4.0.

Jeff


Hi Jeff,
I need to change the canvas color (COMSOL v4.4). I tried to follow your instructions but did not quite understand "editing the target of your COMSOL icon". Could you please give me more details or just upload a screenshot to help me with this? Thanks a lot in advance.

Best,
Can
[QUOTE] You change the canvas (i.e. 3D background color) by editing the target of your COMSOL icon: "C:\Program Files\COMSOL\COMSOL50\Multiphysics\bin\win64\comsol.exe" -Dcs.canvascolor=255,255,120,255,255,204 where 255,255,120 is the RGB code for the color you want at the top of the Graphics window, and 255,255,204 is the RGB code for the color you want at the bottom of the Graphics window. 255,255,255 is white; 0,0,0 is black. This works, I believe, for all versions since 4.0. Jeff [/QUOTE] Hi Jeff, I need to change the canvas color (COMSOL v4.4). I tried to follow your instructions but did not quite understand "editing the target of your COMSOL icon". Could you please give me more details or just upload a screenshot to help me with this? Thanks a lot in advance. Best, Can

Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 5 oct. 2015, 08:29 UTC−4
Hello Can,
Right-click on the COMSOL icon on your desktop, then select Properties. In the window that pops up, under the Shortcut tab, you'll find the Target field. That's the string you need to edit.
Best regards,
Jeff
Hello Can, Right-click on the COMSOL icon on your desktop, then select Properties. In the window that pops up, under the Shortcut tab, you'll find the Target field. That's the string you need to edit. Best regards, Jeff

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 5 oct. 2015, 21:27 UTC−4
Hi Jeff,

Yes, it works now. Well, there was a small episode. At the beginning, I missed the space before "-Dcs....", with a pop-up saying like "invalid path...! " Then, I checked the string again and again and finally found the difference. Thanks very much!


Best,
Can

Hi Jeff, Yes, it works now. Well, there was a small episode. At the beginning, I missed the space before "-Dcs....", with a pop-up saying like "invalid path...! " Then, I checked the string again and again and finally found the difference. Thanks very much! Best, Can

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.