In the picture above (A), (B) and (C ) have the same SINK and SOURCE.
A type of (A) can be connected to a type of (A)
But a type of (B) cannot be connected to a type of (B)
Also a type of (C ) cannot be connected to a type of (C )
So SINK and SOURCE are suitable for determining the flow direction but not for connectivity.
The PropertyType PEnum_DistributionPortGender in the PropertySetDefinition Pset_DistributionPortTypeCable have enums like female and male.
So female could be used for for sleeves, male for nipples and unset for flanges.
But these enums are PropertyTypes for cables.
Is there a predifined PropertyType or something else to determine connectivity for pipes?