You want
ZAP 1.1
not
DELETE 1.1
ZAP actually removes the model; DELETE just marks atoms as deleted.
On Sun, Nov 7, 2010 at 11:35 AM, Dr. Christoph Gille <
christoph.gi...@charite.de> wrote:
> Though the only molecule is deleted, there are still atoms when using the
> API.
>
> Here the details:
>
> Script console: $ delete 1.1
> 1,921 atoms deleted
> As expected, the Atoms are not shown any more. Only the cartoon remains.
> In the context menu the menu "Select" is deactivated which makes sense.
>
>
> But I do not understand that there are still Atoms when I access the
> org.jmol.viewer.Viewer object:
>
> viewer.getModelCount() returns 1
> viewer.getAtomCountInModel(0) returns 1921 and viewer.getModelFileName(0)
> returns a file path.
>
> Regards
>
> Christoph
>
>
>
>
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> _______________________________________________
> Jmol-developers mailing list
> Jmol-developers@lists.sourceforge.net
> 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
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers