[chimera-dev] _surface.SurfaceModel

Tom Goddard goddard at cgl.ucsf.edu
Wed Feb 11 13:24:42 PST 2009


Hi Randy,

  Surface groups have been renamed as pieces and underscores have been 
removed.  So you want

    SurfaceModel.addPiece()

Sorry for the trouble caused by the renaming.

    Tom


Randy Heiland wrote:
> Hi gang,
>
> In trying to finish up my plugin port to the daily/Aqua version of  
> Chimera, I'm confused over the replacement method for what used to be:
>
> _surface.Surface_Model.add_group
>
> I see that dir(_surface) now has SurfaceModel (without the  
> underscore), but what's the replacement for add_group?
>
>  >>> dir(_surface.SurfaceModel)
> ['__class__', '__delattr__', '__destroyed__', '__dict__', '__doc__',  
> '__getattribute__', '__hash__', '__init__', '__new__', '__reduce__',  
> '__reduce_ex__', '__repr__', '__setattr__', '__str__',  
> 'addAssociatedModel', 'addGeometryChangedCallback', 'addPiece',  
> 'associatedModels', 'bbox', 'bsphere', 'callGeometryChangedCallbacks',  
> 'clipPlane', 'clipThickness', 'computeBounds', 'count', 'destroy',  
> 'display', 'frontPoint', 'id', 'intersects', 'material', 'name',  
> 'newPiece', 'openState', 'oslChildren', 'oslIdent', 'oslLevel',  
> 'oslParents', 'oslTestAbbr', 'piecesAreSelectable',  
> 'removeAssociatedModel', 'removeGeometryChangedCallback',  
> 'removePiece', 'selLevel', 'subid', 'surfacePieces', 'useClipPlane',  
> 'useClipThickness']
>
>
> -Randy
> _______________________________________________
> Chimera-dev mailing list
> Chimera-dev at cgl.ucsf.edu
> http://www.cgl.ucsf.edu/mailman/listinfo/chimera-dev
>   



More information about the Chimera-dev mailing list