maxon.frameworks.misc.Reverse

maxon.frameworks.misc.Reverse(pDir)

Returns the reverse of the given direction. PORT_DIR.INPUT becomes PORT_DIR.OUTPUT and vice versa.

Parameters

pDir (maxon.frameworks.graph.PORT_DIR) – A direction.

Returns

maxon.frameworks.graph.PORT_DIR

Return type

The reverse of dir.