The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniGraffle > OmniGraffle General
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
I just want to draw a line!?! Thread Tools Search this Thread Display Modes
I feel really dumb that I can't figure this out. I just want to draw a line inside a triangle. I tried with the the Line tool (seems obvious) but it just does not doo what I want. Basically I want to split the triangle into thirds (and then place text on those lines). However, the line tool always want to start the line from the center of the triangle...Please Help :o)

Cheers
Joe
 
Try locking the shape you don't want the line to interact with. (To lock a shape, select it and click the lock icon in the toolbar, or Control-Click on it and select "Lock" from the contextual menu.)

Hope this helps!
 
Great!!! Thanks!
 
Another approach to this would be to draw a line away from the triangle and use the "Properties: Connections" inspector to turn off "Allow connections to other objects." Then you can drag the line over the triangle and position it and its endpoints without the line attempting to connect to the triangle.

If you usually don't want your lines to attempt to connect to shapes, you can select the line tool by Option-clicking it, or clicking and holding the line tool to get the tool menu, and choose "Inspect Style" from that menu. Then the inspectors will reflect the tool, and you can go and turn off "Allow connections to other objects." Then future lines will not try to connect to objects unless you draw the line and then turn that attribute back on.


The reverse approach would be to disable connections to the triangle. This is done by selecting the triangle, then unchecking the "Allow connections from lines" checkbox in the "Properties: Connections" inspector. Then you will be able to draw lines on the triangle without them attempting to connect to the triangle. However, I think this probably is not as good a match for your usage as the approach above.


Another approach, which would take more effort up front but which might be easier long-term, would be to edit the magnets on the triangle to place a magnet on each side of the triangle (or your case, two magnets on each side, splitting the triangle into thirds), then draw lines connecting those magnets. This has the benefit of being very flexible: if you subsequently resize the triangle, the lines trisecting the triangle will resize and shift as appropriate. To edit the magnets, use the Magnet tool, and/or use the magnets popup in the "Properties: Connections" inspector. The inspector popup has a setting for "two magnets per side," which may be exactly what you're looking for in this case. (Note that with certain line types, this can be a bit fiddly, and if you have auto-layout turned on, you're likely to be fighting it.)


One final alternative is to hold down the Option key while drawing the line - this will prevent the line from attempting to connect to any shapes. (Use with the Shift key to keep your lines horizontal or vertical.)

-andrew
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Draw line on top of image? SurfKauai43 OmniGraffle General 2 2012-01-27 05:57 AM
Can't draw a line ??? Rodney OmniGraffle General 5 2011-10-15 10:03 AM
Draw straight line nic321 OmniGraffle General 8 2011-02-25 09:38 AM
Unable To Draw A Line IscariotJ OmniGraffle General 4 2010-03-10 10:55 AM
How to draw a rainbow-colored line? bccrowe OmniGraffle General 0 2009-07-10 07:55 PM


All times are GMT -8. The time now is 09:11 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.