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

 
Importing lines from OmniGraphSketcher (or creating them with math) Thread Tools Search this Thread Display Modes
If you copy a line in OmniGraphSketcher and paste it into OmniGraffle, you will simply get a text box full of numbers.

This script allows you to copy an OGS line (or a set of XY coordinates from Excel etc), and have it drawn in OmniGraffle.

The script can also use Korn shell math function syntax to define and draw lines in OmniGraffle, or place the set of points in the clipboard, for pasting into OmniGraphSketcher or Excel etc.

First draw and select a plain rectangle in an OmniGraffle canvas. Then run the script. (The graph will be sized to match the rectangle, and drawn on a new layer above it).

To draw a line copied from OmniGraphSketcher, use:
fn=clip
in place of a math function.

Attached Files
File Type: applescript DrawGraph-004.applescript (10.7 KB, 531 views)

Last edited by RobTrew; 2011-11-13 at 12:26 PM.. Reason: Ver 0.3 bug fix involving negative values of x in expressions
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing Lines from Thunderbird/Mail as tasks chiborg OmniFocus 1 for Mac 1 2012-04-26 09:04 AM
Creating fixed-length lines to draw plans Angostura OmniGraffle General 4 2011-02-03 11:32 AM
Drawing by hand creating choppy lines torgerson OmniGraffle for iPad 2 2010-04-09 10:53 AM
lines within circle? (creating pie charts) drfknd OmniGraffle General 3 2008-12-21 11:00 AM
Creating and Editing Right Angle Lines ssipiora OmniGraffle General 1 2008-09-30 10:26 AM


All times are GMT -8. The time now is 05:59 AM.


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