On Thursday, December 7, 2017 at 6:42:17 PM UTC, Justin Israel wrote: > > > > On Fri, Dec 8, 2017, 7:25 AM MA07 <[email protected] <javascript:>> > wrote: > >> hello, >> I already google it .however.couldn't really understand why people use >> hypen like this. >> >> sectionWidth=cmds.gettattribute() >> >> cmds.move(-sectionWidth) <---- in this case. >> > > It has the same meaning in basic math. It negates a numeric value. > > x = 1 > y = -x # -1 > y = -1 * x # -1 > >> -- >> You received this message because you are subscribed to the Google Groups >> "Python Programming for Autodesk Maya" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/python_inside_maya/1fe39550-331d-4945-b7bc-da6a46fdc000%40googlegroups.com >> >> <https://groups.google.com/d/msgid/python_inside_maya/1fe39550-331d-4945-b7bc-da6a46fdc000%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> >
no i mean underscore..so sorry .for example , _skyscrapper.. _width .why & when to they use it .. -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/0409ba95-d7ef-414e-b574-ad8d07e6c555%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
