This information is for Vicon Shogun 1.7. For up-to-date help, see the latest Shogun documentation.

Vicon Shogun banner


Removes a selected or specified namespace.

All modules under the same parent can be considered in the namespace of that parent, using slashes ( / ) to separate each module's parent's name. removeNamespace operates on all selected modules unless you use the -onMod flag to specify the module on which to operate by name.

Note that you may specify the path in commands that require a module name, but you may not specify the path as a module name in the Name attribute.

You need to specify only what is required to uniquely identify the name.

Note also that you can remove a single namespace (for example, removeNamespace "Joe"; ) from anywhere in a name containing multiple namespaces (for example, "Bob:Joe:LUPA") , to result in "Bob:LUPA".

Functional area


Command syntax


removeNamespace namespace[-onMod string]


namespacestringYesSpecify the path of a namespace using slashes ( / ), or colons ( : ). The number of namespaces in a module name is not limited.
Note that if the module contains the same namespace twice, removeNamespace removes only one instance.


NameFlag argumentsArgument typeExclusive toComments
onMod1stringSpecifies the module on which the command operates.

Return value



// Remove a namespace called Bob 
removeNamespace "Bob";

Additional information

Related commands