X-Tender
04-25-2003, 07:44 PM
Ho, i have following problem ... i have a Script in Work .. and it has following Command inside ..
CBdeleteConnection ("motionPath_"+$name+"_"+$lauf+".u");
$name and $lauf is an variable that gets declarated some lines above .. but thats not the problem .. the problem is that when i launch maya .. and then launch the script i get always ..
Cannot find procedure "CBdeleteConnection".
Start of trace: (file: C:\Dokumente und Einstellungen\X-Tender.FUCHTEL\Desktop\MEL Scripts\xt_script.mel, line 49).
CBdeleteConnection (file: C:\Dokumente und Einstellungen\X-Tender.FUCHTEL\Desktop\MEL Scripts\xt_script.mel, line 49).
xt_maketread (command window: line 1).
BUT! .. when i delete the connection 1 Time Manualy then the script work (also when i make a new scene ect. ) only ehn i start maya new it cry.
did someone has a hint? ...
Antother question .. how did i can check if i have an nurbscurve inside my selection .. without looking at the name ..
CBdeleteConnection ("motionPath_"+$name+"_"+$lauf+".u");
$name and $lauf is an variable that gets declarated some lines above .. but thats not the problem .. the problem is that when i launch maya .. and then launch the script i get always ..
Cannot find procedure "CBdeleteConnection".
Start of trace: (file: C:\Dokumente und Einstellungen\X-Tender.FUCHTEL\Desktop\MEL Scripts\xt_script.mel, line 49).
CBdeleteConnection (file: C:\Dokumente und Einstellungen\X-Tender.FUCHTEL\Desktop\MEL Scripts\xt_script.mel, line 49).
xt_maketread (command window: line 1).
BUT! .. when i delete the connection 1 Time Manualy then the script work (also when i make a new scene ect. ) only ehn i start maya new it cry.
did someone has a hint? ...
Antother question .. how did i can check if i have an nurbscurve inside my selection .. without looking at the name ..
