Context: I've seen this command part referred to as the "primary" in the designer wrt the "Make Primary" button available for command disks and command pods and also as "active pod" somewhere, maybe in a tooltip.
I'm assuming it is similar to kOS' "control point" or "control part" in that its orientation determines which directions are fore, top, starboard and not sure what else.
It also seems reflected in the "Take Control" button available for command parts in flight.
So given all that it would be great if vizzy could query which part is currently the primary command part or active pod and also for vizzy to be able to set a command part as the primary or active pod.
This would be very useful for:
1) Docked craft automatically sorting out which part should be in control
2) Craft which have multiple command parts at different orientations for different modes (SSTO, VTOL, low grav "hopping capable" rovers, etc)
Free extra brain vapors:
One worthy idea from kOS to consider is the ability to make a docking port determine the orientation for fore, top, starboard. Given Juno allows any part to have a script, maybe any part, and its orientation, could be used for this, not just docking ports. This would be separate from the command part function and merely overlay the part's rotation onto the craft orientation reference frame for command purposes, not turn every part into a true command part.
I've since figured out that a command part can do a funk query to find out if it is the active pod or not, but no direct way to generally query from any part what part is the active pod. And no way for vizzy to set the active pod.
A vizzy script can funk $<partid>.CommandPod.IsPlayerControlled and the results are as follows as best as I can tell:
-1 : a cmd part, but not active pod
0 : not a cmd part
1 : cmd part and active pod
IDK how the 'replicate' settings affect these returns yet