Hi all,
I am trying to set a VRay rect light's target at the world origin.
I first try to modify the mel code to Python. With moving a rect light's
target in the viewport, I got the code below as a starting point.
setAttr "VRayLightRectShape1.targetPos" -type double3 14.13 -108.221315 -
Works like a charm, Zeth. I am able to add, delete, move order of python
paths in a nice little GUI. Awesome! Thanks so much!
-Jason
On Wednesday, February 21, 2018 at 12:43:07 PM UTC-8, zeth willie wrote:
>
> Hey Jason-
>
> I've attached a script that I wrote a while back that may be useful
Hey Zeth,
Sorry for the late response. Much appreciated for the attached script. It
seems to be super handy tool. I am able to download the attachment just
fine. Will definitely give that a go and let you know.
cheers,
Jason
On Wednesday, February 21, 2018 at 12:43:07 PM UTC-8, zeth willie
shouldn’t know about 2017, nor
> any other version before it.
>
> Ps. I use the word “should” rather than “is” because sometimes Maya simply
> goes bananas. :)
>
>
> On 21 February 2018 at 17:03, Jason Huang <jasonhu...@gmail.com
> > wrote:
>
>> Thank you fo
\maya directory elsewhere, such that Maya can
> create a new one without any customisations.
>
>
> On 21 February 2018 at 15:56, Jason Huang <jasonhu...@gmail.com
> > wrote:
>
>> Thanks Marcus. Just tried that and apparently it's executing from the
>> Maya
?
On Wednesday, February 21, 2018 at 7:18:40 AM UTC-8, Marcus Ottosson wrote:
>
> Try print(assetManager) to find out where the file actually resides on
> disk, and make sure it’s the file you expect.
>
>
> On 21 February 2018 at 15:10, Jason Huang <jasonhu...@gmail.com
&
Hi all,
I got stuck at the beginning of creating a UI interface and couldn't figure
out what was missing.
ENV: Maya 2018 update 2, Windows 10.
script name: assetManager.py (saved in Maya 2018 scripts folder)
from Qt import QtWidgets, QtCore, QtGui
import pymel.core as pm
class
Hi everyone,
I am new to the forum. Please bear with me if my question sounds too vague.
Trying to create a simple spreadsheet-like interface to list the value of
selected attribute and be able to update/feed the user input value back to
the attribute shown in Attribute Editor.
Here is the