Thanks again Bob.

Ben

From: Robert Hanson <hans...@stolaf.edu>
Reply-To: "jmol-users@lists.sourceforge.net" <jmol-users@lists.sourceforge.net>
Date: Wednesday, November 13, 2013 12:23 PM
To: "jmol-users@lists.sourceforge.net" <jmol-users@lists.sourceforge.net>
Subject: Re: [Jmol-users] connect with multiple models

you  will want to define a couple variables, perhaps:

load file1....
model1 = {*}
set appendnew false
load append file2....
model2 = {*} and not model1

Then you can use

connect {atomno=1 and model1} {atomno=1 and model2} ....

etc.

Bob




On Wed, Nov 13, 2013 at 9:21 AM, Robert Hanson <hans...@stolaf.edu> wrote:
Right, no bonds between models. Easiest thing to do is use

load file1....
set appendnew false
load append file2...

This puts all the data in one model and lets you make all the connections you want.







On Wed, Nov 13, 2013 at 7:52 AM, Miller, Benjamin <mill...@janelia.hhmi.org> wrote:
I would like to show connections between two models.  

If I do "measure (atomno=1 and 1.1) (atomno=1 and 1.2)" I get a measurement, but if I do "connect (atomno=1 and 1.1) (atomno=1 and 1.2)" I get "0 new bonds, 0 modified".  

Does 'connect' support connections between models?  If not, how can I accomplish this without using connect?

Thanks,
Ben

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users




--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900




--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to