MCPcopy Create free account
hub / github.com/ImageEngine/cortex / removeClass

Method removeClass

python/IECore/ClassVectorParameter.py:164–167  ·  view source on GitHub ↗
( self, parameterName )

Source from the content-addressed store, hash-verified

162
163 ## Removes the class held by the named parameter.
164 def removeClass( self, parameterName ) :
165
166 self.removeParameter( parameterName )
167 del self.__namesToInstances[parameterName]
168
169 ## Returns a good name for a new parameter. It's not compulsory to use this
170 # function (any unique name is fine) but it can be useful to keep a consistent

Callers 2

setClassesMethod · 0.95

Calls 1

removeParameterMethod · 0.80

Tested by 1