Author |
Topic |
|
ahlers01
Germany
Posts |
Posted - 01/19/2009 : 08:46:55 AM
|
Origin Ver. and SR (Select Help-->About Origin): V8.0 SR4 Operating System: WinXP Prof. SP2
I cannot draw a line with the line drawing tool: when I try to draw, just the blue outline of the line to be drawn appears, but no line is created. The blue outline stays visible but when the window (no matter if graph or worksheet) is minimized and then maximized again, there is no line. I also cannot select the blue outline as long as it is visible. Same holds for the other tools in that tool group, i.e. the zizzag-line tool and the freehand-line tool.
Other tools (rectangle, array) work normal.
Is there any setting that could affect this? Or do I have to reinstall Origin? (which I really would like to avoid)
-Franz |
|
rdremov
USA
28 Posts |
Posted - 01/19/2009 : 1:51:12 PM
|
Could you please verify that line was created?
This is simple: 1. in labtalk script window issue this command "list -o;" => all graphic objects will be dumped into script window 2. now draw the line 3. repeat step 1 and compare two listings
Can you see new object was added with name prefix "Line", "Arrow" or "Polyline"?
If line object was created you should be able to select it. If you could select it then probably color is white on white background or similar. |
Edited by - rdremov on 01/19/2009 1:55:42 PM |
|
|
ahlers01
Germany
Posts |
Posted - 01/22/2009 : 04:34:34 AM
|
Thanks for your hints!
I checked with the "list -o" command, and indeed I can see that a Line object was created. The script window output is: list -o; 1 0 YL, 0x0c093d78 2 0 XB, 0x00b21a00 3 3 __BCO2, 0x0c093878 4 0 Legend, 0x0c091e68 5 7 _202, 0x00b298e8 6 2 Line, 0x00b19ee8
However, I cannot select the line, not even with a selection rectangle.
What I further checked: The array tool (where I had falsely said that it works normal in my first posting) also behaves a bit different: After drawing an array I see the same thin blue outline line as for the 'Line tool' case, but the black arrow head is visible. But in this case I CAN select the array object, e.g. with the selection rectangle. Then I can check the object's properties and I find that the line width is zero. Setting it back to non-zero does indeed make the full arrow visible.
It seems that somewhere the default creation properties of arrow and line have been modified to zero width, but I don't know where and how to reset them...
-Franz |
Edited by - ahlers01 on 01/23/2009 11:34:40 AM |
|
|
rdremov
USA
28 Posts |
Posted - 01/22/2009 : 12:12:53 PM
|
It could happen if you set line width to zero and click "Set Default" button in the Object Properties Dialog. Default settings are remembered in the system.cnf file (could be in user folder and system folder). You could either edit these files in notepad: SYSTEM.LINE.WIDTH=0; SYSTEM.LINE4.WIDTH=0; SYSTEM.POLYLINE.WIDTH=0; or via script window SYSTEM.LINE.WIDTH=1; SYSTEM.LINE4.WIDTH=1; SYSTEM.POLYLINE.WIDTH=1;
Another way is to use theme editor to restore line width first right click on page and choose Copy Formats->All, then shift+Paste to bring up Apply Formats dialog, now navigate to Line objects with width=0 and set them to 1. Hit Apply All. Line should appear on screen. Now to reset defaults you could double click on line to bring up Object Properties dialog and click Set Default button.
|
|
|
cpyang
USA
1406 Posts |
Posted - 01/22/2009 : 9:31:59 PM
|
The default line width should be 0.5.
So find where your user file folder is with %Y= in the script window and open the file
system.cnf
and find all those lines Roman listed and change from 0 to 0.5
Another simpler solution is to just delete this file. There is another copy in the installed Origin folder that should have the original values and the version is your user file folder is recreated everytime you run Origin, so deleting it from the user folder will just restore all the settings related to such things back to default.
CP
|
|
|
ahlers01
Germany
Posts |
Posted - 01/23/2009 : 02:04:57 AM
|
Thanks to you guys for the solution, it worked fine.
I set the line widths back to their original values with the script window commands.
I don't really remember why I had set the defaults to zero in the first place, probably it was accidentally...
-Franz |
|
|
|
Topic |
|
|
|