Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 23rd, 2024, 12:55 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Scripting: draw line to connect 2 objects
PostPosted: September 30th, 2006, 2:46 pm 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Hi

I am trying to script a way for the end-user in runtime to be able to connect any 2 drag and dropped objects, using a line. The end-user can move the objects, via drag and drop. I am trying to add a feature allowing them to first click on one object, then on the second object to which they want to have the line drawn to. Then, this would cause a line to display connecting the 2 objects.

I'm not sure if this is possible using OpusScript/JavaScript. I'm hoping someone can suggest a way to do this.

Kind Regards,

_________________
Stephen


Top
 Profile  
 
 Post subject: Lines at runtime
PostPosted: October 1st, 2006, 11:44 pm 
Offline

Joined: November 3rd, 2004, 6:44 pm
Posts: 59
Location: Ipswich, UK
Stephen,

Last year, around this time, I was trying to do something very similar but was told this was not possible.

See:

viewtopic.php?t=1183&highlight=lines

I never followed up on the scaling/rotate idea, also posted, but would be interested if you solve this problem

Regards

Clive


Top
 Profile  
 
 Post subject:
PostPosted: October 2nd, 2006, 12:05 am 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Hi Clive

It appears that Paul in NZ had some ideas at the time of the old posting. Since pm is disabled and no way to get this posting to him, I'll go to the old posting you've referenced and see if he responds with work-a-rounds.

Thanks for the lead. Will keep you in the loop if any solutions are found.

Kind Regards,

_________________
Stephen


Top
 Profile  
 
 Post subject:
PostPosted: October 2nd, 2006, 8:52 pm 
Offline

Joined: November 11th, 2004, 4:05 am
Posts: 636
Location: Christchurch, NZ
Although PM has been disabled, my email address is always in my profile.
I delete all email from free email accounts like Hotmail, Gmail, Yahoo and other throwaway addresses -- so if you wish to contact me use a real one :)

cheers
Paul


Top
 Profile  
 
 Post subject:
PostPosted: October 2nd, 2006, 9:50 pm 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Thanks, Paul.

An email is on the way. :)

Kind Regards,

_________________
Stephen


Top
 Profile  
 
 Post subject:
PostPosted: May 20th, 2008, 4:50 am 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
Paul
Quote:
PostPosted: Mon Oct 02, 2006 7:52 pm Post subject:
Although PM has been disabled, my email address is always in my profile.


Must have had an expiration date on it. :wink:

I was thinking to send you the sqlite 'wrapper' scripts and demo pub, but alas no email. Currently I cannot post an attachment on the board.

_________________
_good things come to those who wait(0)_


Top
 Profile  
 
 Post subject:
PostPosted: May 20th, 2008, 5:43 am 
Offline

Joined: November 11th, 2004, 4:05 am
Posts: 636
Location: Christchurch, NZ
Hi Larry
That's strange, my email address isn't disabled.

cheers
Paul


Last edited by Paul on October 16th, 2008, 8:02 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: May 20th, 2008, 5:56 am 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
Paul,

Emails sent.
Opus Demo Pub with all necessary files included.
An 'Extras' folder... Olaf orig. .ILS files and my Exported Opus Variables from the demo pub. Etc etc.

Larry

_________________
_good things come to those who wait(0)_


Top
 Profile  
 
 Post subject:
PostPosted: May 20th, 2008, 7:52 am 
Offline

Joined: November 11th, 2004, 4:05 am
Posts: 636
Location: Christchurch, NZ
Thanks Larry,
Much appreciated.

Paul


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group