From: A. H. <ang...@ua...> - 2009-04-23 13:08:29
|
The use of DATA to provide a model inline in a script deletes the existing model. I was wandering if there is a way to add atoms to the current model. I have found that I can do DATA first, then LOAD APPEND (with or without set appendNew), but not the other way round. Maybe "data append" could be implemented easily? |
From: Robert H. <ha...@st...> - 2009-04-23 16:54:00
|
That should work already -- I guess it's not documented. It's data "append" ... end "append" 2009/4/23 Angel Herráez <ang...@ua...> > The use of DATA to provide a model inline in a script deletes the > existing model. I was wandering if there is a way to add atoms to the > current model. > I have found that I can do DATA first, then LOAD APPEND (with or > without set appendNew), but not the other way round. > Maybe "data append" could be implemented easily? > > > > > ------------------------------------------------------------------------------ > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > Jmol-developers mailing list > Jmo...@li... > https://lists.sourceforge.net/lists/listinfo/jmol-developers > -- Robert M. Hanson Professor of Chemistry St. Olaf College 1520 St. Olaf Ave. Northfield, MN 55057 http://www.stolaf.edu/people/hansonr phone: 507-786-3107 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 |
From: Angel H. <ang...@ua...> - 2009-04-23 18:38:21
|
On 23 Apr 2009 at 11:53, Robert Hanson wrote: > That should work already -- I guess it's not documented. It's > > data "append" Aha! I tried data append "model example" and the parser complained of too many arguments Thanks! Mmmm... it's not working well. I load a model, with 37 atoms. The pop-up menu says 37 selected, 37 atoms, 39 bonds. Then I enter this: data "append" 2 testing Ca 1 1 1 Cl 2 2 2 end "append" and I see no change. The pop-up says 39 selected, but still 37 atoms, 39 bonds. And there is no way to make the 2 new ones display; I can select them (e.g select _Ca,_Cl says 2 atoms selected) or center on them, but cannot show them. |
From: Robert H. <ha...@st...> - 2009-04-23 20:57:14
|
check model 2 2009/4/23 Angel Herráez <ang...@ua...> > On 23 Apr 2009 at 11:53, Robert Hanson wrote: > > That should work already -- I guess it's not documented. It's > > > > data "append" > > Aha! I tried > data append "model example" > and the parser complained of too many arguments > > Thanks! > > Mmmm... it's not working well. > > I load a model, with 37 atoms. The pop-up menu says 37 selected, 37 > atoms, > 39 bonds. > Then I enter this: > data "append" > 2 > testing > Ca 1 1 1 > Cl 2 2 2 > end "append" > > and I see no change. The pop-up says 39 selected, but still 37 atoms, 39 > bonds. > > And there is no way to make the 2 new ones display; > I can select them (e.g select _Ca,_Cl says 2 atoms selected) > or center on them, > but cannot show them. > > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensign option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Jmol-developers mailing list > Jmo...@li... > https://lists.sourceforge.net/lists/listinfo/jmol-developers > -- Robert M. Hanson Professor of Chemistry St. Olaf College 1520 St. Olaf Ave. Northfield, MN 55057 http://www.stolaf.edu/people/hansonr phone: 507-786-3107 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 |
From: A. H. <ang...@ua...> - 2009-04-23 22:21:18
|
On 23 Apr 2009 at 15:57, Robert Hanson wrote: > check model 2 Oh, right. The problem was that the pop-up menu says only one model, and the frame forward/back buttons in the app toolbar don't work either. After I typed "frame 2" in the console, now the menu says 2 models But the back menu in the toolbar still does not take you from frame 2 to frame 1 :-( I will investigate further tomorrow and report back |