NXOpen.UF.Route.AskPortLockInfo

Route.AskPortLockInfo()

Refer to UF_ROUTE_ask_port_lock_info for documentation.

Signature: AskPortLockInfo(portOcc)

Parameters:portOcc (Tag) – The FROM or TO port occurrence
Returns:A Tuple
Return type:A tuple consisting of (isLocked,isRotationLocked,isFromPort)

isLocked(bool): TRUE if given port participates in a lock

isRotationLocked(bool): TRUE if rotation is locked

isFromPort(bool): TRUE if given port is the FROM port

License requirements: None