just append  /f.m  to the designation, where f is the file number and m 
is the model number within that file. So you might:

select *:A/2.1

select helix and */2.1
color cartoon red

Actually, you can even do this:

select helix and 2.1

because a decimal number is taken to be "file.model"

Alternatively, you can specify:

select *:A and file=3 and model=2

for example. But I recommend the first way. If you use "1.0" then it 
means "all the models in file 1"

Bob

Lin Yi wrote:

> Thanks Bob for the quick reply.  You are awesome. 
>
> I have some more questions regarding models however. 
>
> Say I want to color a specific residue on a specific loaded model, but 
> not the other models; or just assign a different color to the cartoon 
> of a model; how would I do that?
>
> Thanks again. 
>
>
> Lin
> Department of Bioinformatics
> University of Kansas
>
> On Tue, Mar 11, 2008 at 11:04 AM, Bob Hanson <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     Lin Yi wrote:
>
>     > Hi all,
>     >
>     > How do you load multiple models into an applet?  Currently, I'm
>     using
>     > 'load MODELS "file1" "file2"', and that would treat each
>     model/file as
>     > a different animation frame.  Is there a better way to do this?
>
>     You can load files into the same frame using
>
>     set appendNew FALSE;
>     zap;
>     load files "file1" "file2";
>
>
>     > I would like to name my own models as well, instead of using 1.1 or
>     > whatever to reference them.
>
>     You have to use 1.1, 2.1, etc.
>
>     > Also, is there a way to remove a specific model once it's loaded?
>
>     No.
>
>     > I know this probably could be done using display/hide, but I want to
>     > complete remove the model to reduce memory usage.  From what I read,
>     > zap would remove all current models, but I only want to remove
>     certain
>     > one(s).
>
>     Not possible, sorry.
>
>     > I don't want to remove everything and load all the ones that needed
>     > again because some of the current models could be manipulated in a
>     > certain way and I'd like to keep them like that.
>
>     You could save the orientation and then restore it. And you can
>     save the
>     full state as well. In addition, you can save just certain aspects of
>     the state in variables and then recall them later.
>
>     Bob Hanson
>
>     > Thanks guys.
>     >
>
>     > Lin
>     > Department of Bioinformatics
>     > University of Kansas
>     >
>     >------------------------------------------------------------------------
>     >
>     >-------------------------------------------------------------------------
>     >This SF.net email is sponsored by: Microsoft
>     >Defy all challenges. Microsoft(R) Visual Studio 2008.
>     >http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>     >
>     >------------------------------------------------------------------------
>     >
>     >_______________________________________________
>     >Jmol-users mailing list
>     >[email protected]
>     <mailto:[email protected]>
>     >https://lists.sourceforge.net/lists/listinfo/jmol-users
>     >
>     >
>
>
>     --
>     Robert M. Hanson
>     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
>
>
>
>     -------------------------------------------------------------------------
>     This SF.net email is sponsored by: Microsoft
>     Defy all challenges. Microsoft(R) Visual Studio 2008.
>     http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>     _______________________________________________
>     Jmol-users mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
>------------------------------------------------------------------------
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by: Microsoft
>Defy all challenges. Microsoft(R) Visual Studio 2008.
>http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Jmol-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jmol-users
>  
>


-- 
Robert M. Hanson
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



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to