From: Salomon Turgman Cohen (
Date: Wed Apr 17 2013 - 12:43:08 CDT

Hey Erik,

I usually do something like this in tk console:

#define my selection
atomselect macro centmolec {index 4993 4992 4994}

#Adjust and add representation
mol representation VDW 0.400000 21.000000
mol color Name
mol selection {centmolec}
mol material Opaque
mol addrep top

Is this what you had in mind?

On Wed, Apr 17, 2013 at 12:14 PM, Martin, Erik W <>wrote:

> Hi, I was hoping someone could let me know how to do this. I'm wanting to
> take an atomselection from the command line and create a representation
> with a particular (lets say VDW) representation style from the command
> line. I know there must be some way to do this? Presently, I'm trying to
> do it with the output from "measure contacts", but I've wanted to do this
> with a large number of things in the past.
> Thanks a lot,
> Erik
> ________________________________
> Email Disclaimer:
> Consultation Disclaimer:

Salomon Turgman Cohen
Postdoctoral Associate
Cornell University
(919) 341-9650