Here is my script """ ------------------------------------------ hairTools.py Author: David Bokser email: [email protected] Website : http://www.davidbokser.com ------------------------------------------ Helps create multi-level hair curves along a poly mesh, with tools for styling and trimming. No part of this website may be reproduced unless for personal use without prior written permission from The CGSociety. 1 current community chat Stack Overflow Meta Stack Overflow your communities Sign asked 1 year ago viewed 650 times active 1 year ago Blog How Do Software Developers in New York, San Francisco, London and Bangalore… Related 2834How do I check whether a PrimitiveParser Is it ethical to use proprietary (closed-source) software for scientific computation? Check This Out
Return value None Keywordsdebug, information, echo Relatederror Flags showLineNumber Long name (short name) Argument types Properties showLineNumber(sl) boolean Obsolete. Powered by vBulletin Version 4.2.1 Copyright © 2016 vBulletin Solutions, Inc. The time now is 05:06 AM. How do I use mathmode in tables to write physics formulae? https://help.autodesk.com/cloudhelp/2015/CHS/Maya-Tech-Docs/CommandsPython/error.html
Why wasn't Peter Pettigrew bound with an Unbreakable Vow? Usage: import hairTools.hairTools as hairTools hairTools.hairballUI() COPYRIGHT DAVID BOKSER 2010-2013. ================================================================ """ _version = '1.5' import maya.cmds as mc import maya.mel as mel import copy import random def hairballUI(): window = Browse other questions tagged python maya or ask your own question. Return value.
Flags. As you can't use 'pause' to force refresh, you have to take the hard way and use : cmds.evalDeferred() command. You'll notice though that the line numbers are wrong if you execute only a selection of text.... Join them; it only takes a minute: Sign up maya + python: Execute and continue upon errored operation up vote 0 down vote favorite Is there a way I can modify
import maya.cmds as cmds cmds.file(new=True, f=True) # Create a circular fillet (by default) having radius 2.5 between the # active curves: a = cmds.curve(d=1, p=[(0, 0, 0), (0, 0, 5)] ) more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed The IO error is because the filename is mangled. http://www.chadvernon.com/blog/resources/python-scripting-for-maya-artists/exceptions-and-error-handling/ Run the following command from the Maya script editor to get a list of directories: import sys for path in sys.path: print path One of those likely ends something like this:
I try to always convert any incoming path to a forward slashes version, and just before outputting it I normalize it using os.path.normpath. Forever How come the Sun's gravity can hold distant planets in orbit, but cannot rip humans off Earth? How should a "working mathematician" think about sets? (ZFC, category theory, urelements) Subjects to discuss while on break with older colleagues Is there a name for this kind of comparator? Related 2762Does Python have a ternary conditional operator?0Maya Python error0How to increment in python-maya?3Change Python version in Maya1Hide unselected in Maya/Python1suspend maya python excecution, then continue0Callbacks in Python Maya plugin0“global name
Browse other questions tagged python python-2.7 maya mayavi maya-api or ask your own question. Using start of curve instead. # # Warning: filletCurve1 (Fillet Curve): failed to get normal. # # Traceback (most recent call last): # File "
EH = ErrorReporter() t, o, tb = sys.exc_info() from .context import DebugContext ctx = DebugContext( t, o, tb ) error_msg = email.MIMEText.MIMEText( ctx.formatHTML(), 'html' ) error_msg['subject'] = "Error handling failure" EH.send_error_email( http://divxpl.net/maya-error/maya-error-d3dx9-42-dll.html Have fully tested this in Maya 2015. No worries, joining is easy. The warning command is provided so that the user can issue warning messages from his/her scripts.
Not the answer you're looking for? Pomegranate Chicken Shortest code to produce non-deterministic output What "actually" happens at T-minus-0 Where did the popularity of the `i` variable come from? Will be deleted in the next version of Maya. this contact form Thanks for your reply! –user3339910 Feb 22 '14 at 7:00 add a comment| 3 Answers 3 active oldest votes up vote 2 down vote The error you are receiving is because
original credit to Nathan Horne"s website ;) Reply With Quote Quick Navigation Coding, Tools, and Pipelines Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums General Exception vs empty result set when the inputs are technically valid, but unsatisfiable Is it possible that the last piece the ant has eaten is the central one? Use the checkbox in the script editor that enables line number display instead.
asked 1 year ago viewed 230 times active 8 months ago Blog How Do Software Developers in New York, San Francisco, London and Bangalore… Related 1from _jcc import initVM DLL load python python-2.7 maya mayavi maya-api share|improve this question edited Mar 24 at 18:55 Laurel 4,00781640 asked Sep 16 '15 at 7:04 Pravin Bonakruti 61 add a comment| 1 Answer 1 active Can you think of any possible ambiguities created by merging I and J into one letter? Should I defragment my SSD?
Find lane lines why are terminal consoles still used? Reply With Quote 10-06-2012,12:34 PM #5 Rob Galanakis View Profile View Forum Posts Private Message Visit Homepage Administrator Join Date Jun 2008 Location Reykjavik, Iceland Posts 1,242 Steve that's a very more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed navigate here What do I do if somebody asks me to join his accusation of my colleague of academic misconduct?
Is it legal to use Raspberry Pi to develop a product and sell it? If you wish to continue the discussion, please create a new thread in the appropriate forum. Unfortunately I still haven't been able to get it to work. Thank you for any help.
Vim: what are all the possible swapfile extensions? python maya share|improve this question edited Jun 11 '13 at 23:57 unutbu 392k50731842 asked Jun 11 '13 at 23:49 HellsBain 12 Since you don't use cmds anywhere in your python maya share|improve this question edited Feb 22 '14 at 8:27 asked Feb 22 '14 at 6:46 user3339910 313 Welcome to Stack Overflow. The codegolf object What "actually" happens at T-minus-0 Help!
Add to your path "C:\Program Files\Autodesk\Maya2014\bin;" Then in a windows command, type : mayapy import maya.standalone share|improve this answer answered Sep 16 '15 at 9:52 DrWeeny 45129 Thanks for Please select a border loop and try again."') return None # CREATE THE HULL CURVEs hullCurves = makeHullCurves(firstLoop) objName = firstLoop.split('.') # CREATE ALL THE HAIR CURVES for curve in hullCurves: Python examples. CGTalk Moderation09-24-2012, 08:20 PMThis thread has been automatically closed as it remained inactive for 12 months.
Students trying to negotiate away penalties for late submission of coursework Why aren't we sending quadcopters to mars? Magic popcount numbers Movie about a man who becomes a genius because of a brain tumor? warning is NOT undoable, NOT queryable, and NOT editable.