parameters: (self, namespace)
docstring: :param namespace: str
  		:return: None
docstring_summary: :param namespace: str
  		:return: None
docstring_tokens: : param namespace : str : return : None
function: def setNamespace(self, namespace):
  		"""
  		:param namespace: str
  		:return: None
  		"""
  		for node in self.getSceneNodes():
  			nameParts = node.GetName().split(':')
  			if len(nameParts) > 1:
  				node.SetName(nameParts[-1])
  			node.SetName('%s:%s' % (namespace, node.GetName()))
function_tokens: def setNamespace ( self , namespace ) : for node in self . getSceneNodes ( ) : nameParts = node . GetName ( ) . split ( ':' ) if len ( nameParts ) > 1 : node . SetName ( nameParts [ - 1 ] ) node . SetName ( '%s:%s' % ( namespace , node . GetName ( ) ) )