> > MPlug class has connectedTo method which allows you to check if there > are connections.
Something like this will work:
plugArray = OpenMaya.MPlugArray()
plug = OpenMaya.MPlug(self.thisMObject(),
myDeformer.aColliderMesh)
isConnected = plug.connectedTo(plugArray,1,0)
if not isConnected:
--~--~---------~--~----~------------~-------~--~----~
Yours,
Maya-Python Club Team.
-~----------~----~----~----~------~----~------~--~---
