Message 1 of 4
query command port across Maya sessions
Not applicable
07-07-2009
05:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
SO I open two sessions of Maya
In session 1 I open a command port via
commandPort -n ":8000";
If in session 1 I query the command port creation with:
commandPort -q ":8000";
// Result:1//
It sees the port.
But if in the second Maya session I query the commandPort via:
commandPort -q ":8000";
// Result:0//
It thinks the port has not been created. But port 8000 is taken and
cannot be used. How can I query that a command port is taken in this
way, across multiple session of Maya?
Joey
In session 1 I open a command port via
commandPort -n ":8000";
If in session 1 I query the command port creation with:
commandPort -q ":8000";
// Result:1//
It sees the port.
But if in the second Maya session I query the commandPort via:
commandPort -q ":8000";
// Result:0//
It thinks the port has not been created. But port 8000 is taken and
cannot be used. How can I query that a command port is taken in this
way, across multiple session of Maya?
Joey