Creo Schematics 9.0.0.0 Help Center > Customizing Creo Schematics Using Java APIs > Example: Invoking a Class Before a Connection Is Made
Example: Invoking a Class Before a Connection Is Made
public boolean canConnectBetween(Shape item1, String port1, FibreShape fibre, Shape item2, String port2) throws RSDException
{
// False here if you want to dis-allow the connection
return true;
}