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                            
                            
                                2012年2月15日 GMT+8 00:13                            
                        
                        
                                                    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                            
                            
                                2014年11月21日 GMT+8 21:40                            
                        
                        
                                                    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:
                            
                                1 decade ago                            
                            
                                2015年4月5日 GMT+8 20:13                            
                        
                        
                                                    
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:
                            
                                1 decade ago                            
                            
                                2015年10月4日 GMT+8 15:47                            
                        
                        
                                                    
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:
                            
                                1 decade ago                            
                            
                                2015年10月5日 GMT+8 20:29                            
                        
                        
                                                    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:
                            
                                1 decade ago                            
                            
                                2015年10月6日 GMT+8 09:27                            
                        
                        
                                                    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