Environment System Script 1.0.7 for Maya (maya script)

A simple Environment System script that uses Maya's particles.

Bugs

Error

Statusclosed
Priorityhigh
Date01/05/2016
Submitted by Anttropos Anttropos
Hi. I have problem. When i try create Environment (selected surface, and entered name) I see
# Error: RuntimeError: file C:\Program Files\Autodesk\Maya2016\Python\lib\site-packages\pymel\internal\pmcmds.py line 133: Object 'curEnvOption' not found. #
Thanks

Comments on this bug:

  • Anttropos

    Anttropos said almost 11 years ago:

    upd: All works fine, if I restart script again after each operation: create Env - restart, add objects-restart.... But anyway - it's more faster, then create env handly. :) Thank you for very useful script
    Report
  • Luma91

    Luma91 said almost 11 years ago:

    Sorry about that! I have updated the script again, does the latest version of this script still have the issue?
    Report
  • Anttropos

    Anttropos said almost 11 years ago:

    Thanks! Now all works fine without any errors. Thanks for excellent script!
    Report
  • Luma91

    Luma91 said almost 11 years ago:

    No worries! I hope you enjoy it :)
    Report
  • spurv3d

    spurv3d said over 10 years ago:

    I get this error execfile("C:\Users\Mario\Documents\maya\scripts\envSystem\envSystem.py") # Warning: Plug-in, "nearestPointOnMesh.mll", is already loaded. Skipped. # whatIs "nearestPointOnMesh"; // Result: Command // # Error: NameError: file C:\Users\Mario\Documents\maya\scripts\envSystem\envSystem.py line 156: global name 'backgroundColor' is not defined #
    Report
  • Luma91

    Luma91 said over 10 years ago:

    Thanks for that! Updated the script. Is it working now?
    Report

Post a comment:

Sign in