Adverti horiz upsell

To Sphere 1.6.0 for Maya (maya script)

To Sphere is a script for spherical deformation

License
Button download
1,634 Downloads

Compatibility

  • 2014, 2013, 2012, 2011, 2010, 2009

Operating Systems

  • Mac
  • Windows

History

Created:03/14/2014
Last Modified:03/24/2015
File Size: 9.18 KB

Keywords

maya, mel

Bugs

// Error: line 1: Cannot find procedure "dGeoButC".

Statuspending
Prioritylow
Date05/03/2014
Submitted bykursat turkay kursat turkay
executing
source To_Sphere();

window appears.
and getting this error on any press button. Because of all procs should be global.
or what can we do ?

// Error: line 1: Cannot find procedure "dGeoButC".

Comments on this bug:

  • kursat turkay

    kursat turkay said almost 11 years ago:

    please read last sentence of this line. https://www.melscripting.com/tutorial_1.html any procedure which is for call for a button must be defined as global. if you dont do it .ppl have to always load script into ScriptEditor and shall run it each time. otherwise "source" wont work.
  • PhateX

    PhateX said almost 11 years ago:

    OK, I get it ~ I think it's about your workflow. I personally tend to avoid using a bunch of global procedures in such little scripts because it's easy to arise some wired bugs. So you can manually change the procedures to global procedures if your want; or you can package the whole script to a shelf button by the "saving to shelf" command in script editor which can directly execute the script with a single clicking.

Post a comment: