There is not enough information about your case can you explain your
situation more clearly?!
Because there are bunch of ways to do that
On Thu, Mar 29, 2018 at 3:49 PM justin hidair
wrote:
> Is ‘ these ‘ nodes custom nodes from you or any node from maya ? if it’s
> the
Search Here:
https://download.qt.io/archive/
On Sat, Dec 30, 2017 at 3:08 PM, Marcus Ottosson
wrote:
> It’s there, and it’s free.
>
> You can also find it in your Maya directory, such as this on Windows.
>
> C:\Program Files\Autodesk\Maya2018\bin\designer.exe
>
>
>
Hey man
You can use Mel or python or PySide in maya for creating GUI
But if you mean you want idea about designing your GUI it is better to
create some mock-ups on paper then create it with code
Location and angle are vector
Dimension is based on object you want to create
Draw your sketches
Hello Friends
I have a problem here to call ToolContexts in maya.
for example there is a moveTool folder in C:\Program
Files\Autodesk\Maya2016\devkit\plug-ins\moveTool, i build it for maya in
windows mll and load its plugin to maya, but i don’t know how should i call
it.
in its docs has
Hey man
For combining curve it is better to put all shapes of them inside one
transform node.
Before:
[image: Inline image 1]
After:
[image: Inline image 2]
On Thu, Oct 20, 2016 at 7:12 AM, Kevin C. Burke
wrote:
>
>
> Hello,
> I'm trying to write a script for
Hello Masters
I want to get all file paths inside maya, it is possible to get each type
of path separately, like textures, references, cache files, scenepath, but
i want get all exisisting paths quickly.
do you think there is any way?
any idea?
Thanks in advance.
--
You received this
This is for setting project, but i think it have callback too, i didn't
check that though. or scriptJob.
On Wed, Oct 5, 2016 at 12:09 PM, Mahmoodreza Aarabi <madoo...@gmail.com>
wrote:
> hey man
> i did this and it works fine for me
>
> from maya import cmds, melimpor
hey man
i did this and it works fine for me
from maya import cmds, melimport pymel.core as pm
workspace_path = os.path.normpath("your/path")
pm.mel.setProject(workspace_path)
mel.eval("print \"Project set successfully\\n\";")
check it
On Wed, Oct 5, 2016 at 11:28 AM, Marcus Ottosson
Hey masters
I want to import skin weight maps of an object with python code, but i
think maya does not have equivalent of `Rigging > skin > Import Wights
Maps...`, i found that just there is one MEL command that will open the
related dialogbox, thi: `mel.eval("ImportSkinWeightMaps;")`.
but,
so i should get stderr in subprocess.
ok thanks guy
i will test and say about it
On Tue, Aug 30, 2016 at 11:48 PM, Justin Israel
wrote:
> Yes, OpenImageIO comes with python bindings. We use them at Weta in
> python, C++, Go, and command line form.
>
> And yea, that
Hello guys
There is a command based software for converting images and formats named
ImageMagick
i created an ui to give artist to use commands of imageMagick easily, when
i run command for converting my images, it works until a file has problem,
in this way magick give an error that i
You are right, but this is not affect the code
rename just get new name not new path
i used exportAll flag and it works fine
btw, thanks for the point
On Thu, Jul 21, 2016 at 3:13 PM, Cesar Saez wrote:
> If I recall correctly, windows paths uses \ instead of /... try
er mel script
>
> If you read that script, you will see that the process of finding unused
> nodes is multiple stages. It looks at shading groups, and connections, and
> texture nodes, ..
>
> Justin
>
> On Thu, Jul 21, 2016 at 9:03 PM Mahmoodreza Aarabi <madoo...@gmail.com>
> wrot
Hey guys
I want to know how can we get a complete list of all unused nodes in maya,
nodes that are detect with Optimize Menu, and after detecting it will
remove them.
Now i want to get all unused nodes before deleting them.
there is any idea?
this command will delete unused node in maya
I think using exportAll will solve the problem
cmds.file(path,
force=True,
typ="mayaAscii",
exportAll=True,
preserveReferences=True,
shader=True,
expressions=False,
constructionHistory=True)
On Thu, Jul 21, 2016 at 10:26 AM, Mahmoodreza Aar
ed, Jul 20, 2016 at 1:50 PM, Mahmoodreza Aarabi <madoo...@gmail.com>
wrote:
> Hey Sumant
> thanks for answer.
> i test rename flag of file, but it does not give path, just can i give it
> a new name, i think to a new way to use save flag instead of exportSelected.
>
> but i
cmds.about(c=True) >> # Result: u'201502261600-953408' #
On Tuesday, July 12, 2016 at 10:11:17 AM UTC+4:30, Justin Israel wrote:
Does the cutstring give you anything consistent?
>
> cmds.about(c=True)[:4]
>
> On my machine, the year is the first 4 characters.
>
>
>
> On Mon, Jul 11, 2016 at
Hello guys
Please take a look at this and guide me.
Situation:
We have a FinalModel that is referenced in a scene for rig. In the rig
scene, meshes get skin and rigging stuffs.
after that i want to save the scene using code (Here using Pyblish’s
Plugin) that use this code:
cmds.file(path,
Hey Cesar
nice idea
in recent hours i found a way in one module that is like your idea but with
list:
callbacks = []
def do_something():
print "anything"
def main():
global callbacks
idx = OpenMaya.MEventMessage.addEventCallback("timeChanged", get_sec)
callbacks.append(idx)
def
there is any way to find all custom callbacks in a scene?
On Thu, Jul 14, 2016 at 11:31 AM, Mahmoodreza Aarabi <madoo...@gmail.com>
wrote:
> i think so
> but removing it in the current session does not work.
> i mean when i create a callback i have to find it in all callbacks an
to re-add it for each session.
>
> On 14 July 2016 at 07:30, Mahmoodreza Aarabi <madoo...@gmail.com> wrote:
>
>> i mean the callback will stick to the scene or not?
>> i think custom callbacks does not stick to the scene.
>>
>> On Thu, Jul 14, 2016 at
i mean the callback will stick to the scene or not?
i think custom callbacks does not stick to the scene.
On Thu, Jul 14, 2016 at 10:56 AM, Mahmoodreza Aarabi <madoo...@gmail.com>
wrote:
> thanks marcus
> this is when i run a module in maya and in a function in it i want
ck(my_module.idx)
>
>
>
> On 14 July 2016 at 07:14, Mahmoodreza Aarabi <madoo...@gmail.com> wrote:
>
>> Hello guys
>> i know that this thread is old, but recently i was searching about one
>> problem and i see this in group.
>>
>> i do this in another
Hey man
i'm using SublimeText + Anaconda Pep8 Linter as its package, it is very
good.
On Wed, Jul 13, 2016 at 11:37 PM, Marcus Ottosson
wrote:
> In my view it’s almost always better to stick to the style of the API your
> code interact with the most
> …
> I tend to
Hello guys
i know that this thread is old, but recently i was searching about one
problem and i see this in group.
i do this in another way, but i have different problem that i will say.
i did this:
def do_something(*args, **kwargs):
print "hello"
idx =
very nice
thanks man
On Tue, May 31, 2016 at 10:52 PM, Marcus Ottosson
wrote:
> Since it's been asked about here a few times, I figured I'd share this
> wonderful miracle. :)
>
> -
>
()
item = current_index.data(QtCore.Qt.DisplayRole)
good luck!
On Sat, May 7, 2016 at 1:52 PM, Mahmoodreza Aarabi <madoo...@gmail.com>
wrote:
> Hello guys
>
> I want to know that how can i get text of elements of a QListView that
> filled with a model.
>
> cu
Hello guys
I want to know that how can i get text of elements of a QListView that
filled with a model.
currentIndex?
currentRow?
or there is a way to access to its elements?
thanks
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk
Hey guys
I have a challenge here for creating a tool that we can create facial and
body procedurally for characters level 2 or less important characters.
for example, we can have a database of different base or blendshape models
that combine them together and create new character.
now this is
Hello to all
I would like to know that anyone worked VoIP (Voice Over IP) with Python
sofar?
I want to create an app on local network to use VoIP and Voice chat like
skype.
Any idea?
thanks
--
You received this message because you are subscribed to the Google Groups
"Python Programming for
e, Feb 16, 2016 at 10:34 PM Mahmoodreza Aarabi <madoo...@gmail.com>
> wrote:
>
>> Justin, got it, i'm on your boat, but i mean if there is a situation that
>> give me wrong result i like to know. why not!
>>
>
> No problem :-) That's why I gave you a situation that
Justin, got it, i'm on your boat, but i mean if there is a situation that
give me wrong result i like to know. why not!
thanks man
On Tue, Feb 16, 2016 at 12:38 PM, Justin Israel
wrote:
>
>
> On Tue, Feb 16, 2016 at 8:32 PM md wrote:
>
>> Ok ...
AM, Justin Israel <justinisr...@gmail.com>
wrote:
>
>
> On Tue, Feb 16, 2016 at 6:27 PM Mahmoodreza Aarabi <madoo...@gmail.com>
> wrote:
>
>> Hey man i suggest that use this method for running your window in maya:
>>
>> class YourClass():
>>
Hey man i suggest that use this method for running your window in maya:
class YourClass():
def getMainWindow():
mainWindow = QtGui.QApplication.activeWindow()
while True:
lastWin = mainWindow.parent()
if lastWin:
mainWindow = lastWin
else:
very nice man
Good luck!
i will join
:)
On Tue, Feb 16, 2016 at 1:05 AM, Marcus Ottosson
wrote:
> Hi all,
>
> I'm hosting a webinar. :)
>
> Maybe you would like to join? It will be my first, and it will be about
> Pyblish and how it works in conjunction with ftrack, but
Hey man i suggest that use this method for running your window in maya:
class YourClass():
def getMainWindow():
mainWindow = QtGui.QApplication.activeWindow()
while True:
lastWin = mainWindow.parent()
if lastWin:
mainWindow = lastWin
else:
i added u'label', but does not work.
no not two version of code.
i have a py file and a bat file. when i run the bat file that call the py
file, in my system it does not work. when i run the bat file (shared its
folder) in clean VM it works
make sense?
i didn't change qtawesome code
On Fri, Feb
fa_icon = qta.icon('fa.camera') returns QIcon?
On Fri, Feb 12, 2016 at 11:31 AM, Mahmoodreza Aarabi <madoo...@gmail.com>
wrote:
> i added u'label', but does not work.
> no not two version of code.
> i have a py file and a bat file. when i run the bat file that call the py
>
hey man
thanks
i have this program as test:
#!/usr/bin/pythonimport sysfrom PySide import QtCore, QtGui# from qtpy
import QtCore, QtGuiimport qtawesome as qta
app = QtGui.QApplication(sys.argv)
fa_icon = qta.icon('fa.camera')
fa_button = QtGui.QPushButton(fa_icon, 'Camera')
Hey Roy
Thanks, it is good and i tested it and it worked.
but instead of importing PySide we should import qtpy, this will not cause
problem later?
On Wed, Feb 10, 2016 at 11:02 PM, Roy Nieterau
wrote:
> I'm using FontAwesome through QtAwesome and it's great. It's a
Hello Developer
i want to know anybody used FontAwesome or Bootstrap in GUIs that created
with PySide?
How is the workflow?
thanks
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and
PIs.
>
> I wouldn't want to base any long-term pipe code around that sort of
> solution though...
>
> On Mon, Feb 8, 2016 at 10:17 AM Justin Israel <justinisr...@gmail.com>
> wrote:
>
>> Sing a song with me everyone! "We love Windows!"
>>
>&g
Hey justin
i created my path with "\\?\D:\path\" that you said.
do you believe that it is not remove now? with any permission!!!
:D
On Sun, Feb 7, 2016 at 10:50 PM, Mahmoodreza Aarabi <madoo...@gmail.com>
wrote:
> Yes man. it was helpfull. now i have to use windows.
> I try
th\...
>
> Does this actually work?
>
> Justin
>
> On Sun, 7 Feb 2016 6:57 PM Mahmoodreza Aarabi <madoo...@gmail.com> wrote:
>
>> Hello to all
>>
>> I have a problem that probabely you faced with it, in windows when we
>> copy a file from a source and
Yes man. it was helpfull. now i have to use windows.
I try to use relative Paths
Btw, thanks.
:)
On Sun, Feb 7, 2016 at 10:15 PM, Justin Israel <justinisr...@gmail.com>
wrote:
>
>
> On Sun, 7 Feb 2016 10:02 PM Mahmoodreza Aarabi <madoo...@gmail.com> wrote:
>
>>
Hello to all
I have a problem that probabely you faced with it, in windows when we copy
a file from a source and paste it in a long path (i mean a deep path) it
does not paste.
Or if you have a long path and you want to create a simple text file in it
you can just write some words in its name.
i'm capturing a video for you from one of my characters that is related to
Pyblish.com project.
i hope you can use it
On Fri, Jan 15, 2016 at 5:28 PM, Mahmoodreza Aarabi <madoo...@gmail.com>
wrote:
> yes, but in a rig you will not rotate joints, you will rotate controlers.
> s
g one arm, then group, and the scale -1
> the group, both arms will translate in the same direction.
>
> El viernes, 15 de enero de 2016, 11:49:41 (UTC+1), Mahmoodreza Aarabi
> escribió:
>>
>> Hey man
>> Mirroring in rig symetrical characters are a little tricky.
>
s (with a
> shape) as controllers.
>
> cheers
>
>
> El viernes, 15 de enero de 2016, 14:58:46 (UTC+1), Mahmoodreza Aarabi
> escribió:
>>
>> yes, but in a rig you will not rotate joints, you will rotate controlers.
>> so if you use rotation in gimbal lock mode whe
the rig have fk and ik, i just show you fk, your need on symetrical works
on ik too.
just check the rig.
many things should be checked in a rig, and we can't use just parenting in
rig.
make sense?
On Fri, Jan 15, 2016 at 8:25 PM, Rudi Hammad wrote:
> I mean that if you
animate the vertices
>> directly. It’s has much better performance.
>>
>>
>> On 15 January 2016 at 16:59, Mahmoodreza Aarabi <mado...@gmail.com>
>> wrote:
>>
>>> the rig have fk and ik, i just show you fk, your need on symetrical
>>> works on ik too.
hey man
i think this will be benefit to look at:
from maya import cmds
cmds.editRenderLayerMembers(...);
On Mon, Dec 28, 2015 at 2:43 PM, Mahmoodreza Aarabi <madoo...@gmail.com>
wrote:
> hey man
> i think this will be benefit to look at:
> ```python
> fro
hey man
i think this will be benefit to look at:
```python
from maya import cmds
cmds.editRenderLayerMembers(...);
```
On Mon, Dec 28, 2015 at 2:23 PM, Michał Frątczak wrote:
> Hello !
> Is there any easy method to get all renderlayers for a specific node ? Or
> do I have to
Haha
nice words man
Happy Holiday for all and new great year!
:)
On Thu, Dec 24, 2015 at 3:06 PM, Marcus Ottosson
wrote:
> And a haPY new year! :)
>
> --
> *Marcus Ottosson*
> konstrukt...@gmail.com
>
> --
> You received this message because you are subscribed to the
Use http://markdown-here.com/ for highlighting your code in group
it will be show your code better
:)
On Sun, Dec 6, 2015 at 11:45 AM, Mahmoodreza Aarabi <madoo...@gmail.com>
wrote:
> Hey
> did you use cmds.connectAttr command?
>
>
> On Sat, Dec 5, 2015 at 10:05 PM, &
Hey
did you use cmds.connectAttr command?
On Sat, Dec 5, 2015 at 10:05 PM, wrote:
> Can anyone tell me how to connect a wrap deformer.
> I have a full body where all the shape going to be connected and then need
> to wrap my cut head to the full body and extract those
Hi
I will be with you Marcus. with my full power.
;)
On Wed, Nov 18, 2015 at 11:26 PM, Marcus Ottosson
wrote:
> Hi all,
>
> I recently put together a guide for those looking to extend, develop and
> bend Pyblish to their own will and would like to share it with you.
>
>
me if I did not state that clearly.
>
> I am trying to get the same/similar output when you select locator2 but
> instead, *[u'locator2', u'locator2|locator3'] *is the result of it
>
> On Tuesday, November 17, 2015 at 4:45:18 PM UTC+8, Mahmoodreza Aarabi
> wrote:
>>
>&g
hey
this locators based on your tree aren't children of locator2:
*[u'locator4', u'locator5', u'locator6']*
this code just give you everything you select, not their childrens
what exactly you want to print out?
On Tue, Nov 17, 2015 at 12:06 PM, likage wrote:
> I have
i did
this is the result [u'locator2', u'locator3']
restart maya and create a new scene, create locator1 and duplicate it a few
times then parent together as you want then test the code again
On Tue, Nov 17, 2015 at 12:24 PM, likage wrote:
> Select both locator2 and
path of that he selected
On Tue, Nov 17, 2015 at 12:44 PM, Mahmoodreza Aarabi <madoo...@gmail.com>
wrote:
> This is logical.
> what is the problem?
>
> On Tue, Nov 17, 2015 at 12:43 PM, Mahmoodreza Aarabi <madoo...@gmail.com>
> wrote:
>
>> my tree in o
You can use this for formatting your code in your email:
http://markdown-here.com/
On Tue, Nov 17, 2015 at 12:28 PM, Mahmoodreza Aarabi <madoo...@gmail.com>
wrote:
> if you use long (l) flag, it will return fullpath
>
> import maya.cmds as cmds
> sel = cmds.ls(sl=True
This is logical.
what is the problem?
On Tue, Nov 17, 2015 at 12:43 PM, Mahmoodreza Aarabi <madoo...@gmail.com>
wrote:
> my tree in outliner is like this
>
> >locator1
> --->locator2
> >locator3
>
> and cmds.ls('locator3', l=True) give me
my tree in outliner is like this
>locator1
--->locator2
>locator3
and cmds.ls('locator3', l=True) give me this result:
[u'|locator1|locator2|locator3']
On Tue, Nov 17, 2015 at 12:39 PM, Nicolas Combecave <
zezebubulon...@gmail.com> wrote:
> It looks like that you have another
if you use long (l) flag, it will return fullpath
import maya.cmds as cmds
sel = cmds.ls(sl=True, l=True)print sel
result: [u'|locator1|locator2', u'|locator1|locator2|locator3']
On Tue, Nov 17, 2015 at 12:26 PM, Mahmoodreza Aarabi <madoo...@gmail.com>
wrote:
> i did
> this i
Hello Alan
i tried this now and it works
from maya import cmds
jnt = str(cmds.ls(sl=True)[0])
cmds.setAttr(jnt + '.rotateOrder', 2) # zxy
it does not work for you at all?
On Mon, Nov 16, 2015 at 9:46 PM, Alan Fregtman
wrote:
> For the record I tried via pymel, via
Good luck!
:)
On Sat, Nov 14, 2015 at 6:05 PM, wrote:
> cool thanks so much madoodia
>
> --
> 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
i had a problem before with importing pymel in maya (in windows) and it was
related to C++ Redist, after i install all verions of C++ fom C++ 2005 to
C++ 2013 the error is solved + dotnet framework
i hope it helps
On Fri, Nov 13, 2015 at 7:16 AM, Robert White
wrote:
>
Hello
You have many options for extruding your face.
first:
using polyExtrudeFacet command based on faces you want to extrude
from maya import cmds
cmds.polyPlane(n="plane")
cmds.polyExtrudeFacet('plane.f[71:72]', ltz=0.2)
second:
using polyExtrudeFace[number of extrude node]:
and changing the
hey
what language you need to be highlighted?
On Tue, Jun 16, 2015 at 12:30 AM, kevcorte...@gmail.com wrote:
Hey Guys,
trying to get syntax highlighting working in sublime, but I can't figure
this out for the life of me, I really wish the instructions weren't so
vague.
Can someone who
if you mean python highlighting sublime have and it detect it automatically,
if you need to show you classes and functions of it i didn't use api in
sublime but i used pyside in it, for that you should add 'C:\Program
Files\Autodesk\Maya2015\Python\Lib\site-packages;' (your directory)
in this way
this way works for code completion for me for pyside.
test it
On Tue, Jun 16, 2015 at 12:44 AM, kevcorte...@gmail.com wrote:
sorry, I meant code completion
--
You received this message because you are subscribed to the Google Groups
Python Programming for Autodesk Maya group.
To
there is many ways.
1. using css
2. set flat it
https://deptinfo-ensip.univ-poitiers.fr/ENS/pyside-docs/PySide/QtGui/QPushButton.html#PySide.QtGui.PySide.QtGui.QPushButton.setFlat
in maya 2016 it change any ui to flat style
On Sun, May 24, 2015 at 6:28 PM, Jean Noval jeanno...@gmail.com wrote:
But Anthony, this line does not work on maya 2016 : cmds.license(info=True)
info flag is obsolete in 2016
On Tue, May 5, 2015 at 10:27 AM, Anthony Tan anthony@greenworm.net
wrote:
I know, it's just parsing text, but isn't text slice pretty much a
one-liner anyway?
import re
import
on what is trying to be
done (do products under subscription even have a serial number??) as to
what kind of approach you'd do there.
On Tue, May 5, 2015, at 04:06 PM, Mahmoodreza Aarabi wrote:
But Anthony, this line does not work on maya 2016 :
cmds.license(info=True)
info flag is obsolete
hey
from maya import cmds
cmds.license(showProductInfoDialog=True)
just this command works in maya 2016
On Mon, May 4, 2015 at 8:42 PM, Kenneth Ibrahim kenibra...@gmail.com
wrote:
Simple question and hopefully 1 liner script answer :)
How does one poll the serial number of the currently
=['quitApplication', myFunction] )
On Thu, Apr 23, 2015 at 9:58 AM Mahmoodreza Aarabi madoo...@gmail.com
wrote:
I think there is a ScriptJob for this.
And i think this is discussed earlier in this group.
On Thu, Apr 23, 2015 at 12:56 AM, Fredrik Averpil
fredrik.aver...@gmail.com wrote
I think there is a ScriptJob for this.
And i think this is discussed earlier in this group.
On Thu, Apr 23, 2015 at 12:56 AM, Fredrik Averpil fredrik.aver...@gmail.com
wrote:
Does anyone know if it is possible to tell Maya to execute a function when
it exits?
Regards,
Fredrik
--
You
hey
Don't use dash in name _X2A-1Q_
instead of dash use underscore _
maya itself change dash - to underscore _ and this creates error
On Mon, Apr 20, 2015 at 1:56 AM, likage dissidia@gmail.com wrote:
I am coding some MEL for camera creations, I have encountered an issue
that have make me
Hello
Static Channels are related to when you set a single keyframe on an object
when you want to delete it you can do it with the menu you want.but if you
want to detect a static channel on an animation curve of an object you can
use this code:
from maya import cmds
sels = cmds.ls(sl=True)
)
cmds.setAttr((o + '.' + at), temp_value)
detect_static_channel()
Good luck
:)
On Fri, Apr 17, 2015 at 5:00 AM, Mahmoodreza Aarabi madoo...@gmail.com
wrote:
i reach to good result for this
but this mel code create a camera that all keyable attributes have key,
also some attributes like
or not in a shot.
If it's static there's a potential advantage in render frame range on some
passes.
W dniu 2015-04-17 o 12:07, Mahmoodreza Aarabi pisze:
Hello
Static Channels are related to when you set a single keyframe on an object
when you want to delete it you can do it with the menu you
i show my code, and you can find differentiation.
i think you should not set name when you create object(locator)
import pymel.core as pmfor x in range(10):
grp = pm.group(em=True)
t = pm.polySphere(n='test', ch=False)[0]
t.setParent(grp)
for x in range(10):
grp =
HoRaa
:D
i'm coming Welington
:D
On Sun, Feb 1, 2015 at 11:12 AM, Anthony Tan anthony@greenworm.net
wrote:
How in gods name does one jam a coffee machine?? Messy yes. Blowing up the
boiler, sure. Jams though?
On 1 February 2015 17:56:26 GMT+11:00,
Thanks.
and for you.
:)
On Wed, Dec 24, 2014 at 2:24 AM, Marcus Ottosson konstrukt...@gmail.com
wrote:
Hope you all have a great Christmas, wherever you may be. :)
Marcus
--
*Marcus Ottosson*
konstrukt...@gmail.com
--
You received this message because you are subscribed to the Google
hey
import maya.mel as mel
mel.eval('performSearchReplaceNames 1;')
good luck
On Mon, Oct 13, 2014 at 11:46 PM, Jake Van jvvan...@gmail.com wrote:
I am trying to get the Search and Replace window to open up at the end of
my script. I have seen things that suggest doing your own search and
UTC-7, Mahmoodreza Aarabi wrote:
hey
import maya.mel as mel
mel.eval('performSearchReplaceNames 1;')
good luck
On Mon, Oct 13, 2014 at 11:46 PM, Jake Van jvva...@gmail.com wrote:
I am trying to get the Search and Replace window to open up at the end
of my script. I have seen things
I use this:
This Is A Template Of PySide Programs In Maya
from PySide.QtCore import *from PySide.QtGui import *
from maya import OpenMayaUIfrom maya import cmds
import shiboken
class Window(QDialog):
docstring for Window
def __init__(self, *args, **kwargs):
super(Window,
You can write plugin with Maya Python API too.
but i think you get good result with maya commands too with mel and python
script.
On Mon, Sep 22, 2014 at 12:26 PM, e9554...@gmail.com wrote:
i guess plugins are c++ right. way over my head, but ill look into it.
thanks,
Sam
--
You received
For me, i have the error (Error Dialog) in maya too, when i use this
command:
import pymel.core
or
import pymel.core as pm
but i don’t know tushar sankhala’s error.
and i could not get the book.
Geordie Martinez, if you have the book please share that page.
thanks
On Sun, Sep 21, 2014 at 4:43
Hey
it is better you share your code snippet,but,
you can use cmds in this way first:
import maya.cmds as cmds
import pymel.core as pm
then :
cmds.about()
pm.about()
good luck
On Sat, Sep 20, 2014 at 9:57 AM, tushar sankhala tusharsankh...@gmail.com
wrote:
Hi All,
I was mostly
.
Thanks
On Saturday, 20 September 2014 12:47:24 UTC+5:30, Mahmoodreza Aarabi wrote:
ok,
did you use import pymel.core as pmc in external python interpreter?
i have another problem in Maya2014 (script editor) but when i import
pymel.core as pm it give me a error dialog :
[image: Inline
editor wingsIDE
but no luck.
Thanks
On Saturday, 20 September 2014 12:47:24 UTC+5:30, Mahmoodreza Aarabi
wrote:
ok,
did you use import pymel.core as pmc in external python interpreter?
i have another problem in Maya2014 (script editor) but when i import
pymel.core as pm it give me
Can you give Full name of book?
or give any link of the page?
On Sat, Sep 20, 2014 at 11:47 PM, Geordie Martinez
geordiemarti...@gmail.com wrote:
Later in in the book (page 256-257) galanakis shows how to defer the
loading of pymel.
Try that perhaps it will help out.
On Friday,
OK, i found the book.
thanks.
On Sun, Sep 21, 2014 at 12:06 AM, Justin Israel justinisr...@gmail.com
wrote:
On Sun, Sep 21, 2014 at 8:33 AM, Mahmoodreza Aarabi madoo...@gmail.com
wrote:
Can you give Full name of book?
or give any link of the page?
It was already mentioned in the first
I found the book link i mean. not the book itself.
anyway thanks
;)
On Sun, Sep 21, 2014 at 12:08 AM, Mahmoodreza Aarabi madoo...@gmail.com
wrote:
OK, i found the book.
thanks.
On Sun, Sep 21, 2014 at 12:06 AM, Justin Israel justinisr...@gmail.com
wrote:
On Sun, Sep 21, 2014 at 8:33 AM
Hey
if your mean is find world position of some selected component (vertex here)
you should use an script like this:
import maya.cmds as cmds
selVerts = cmds.ls(sl=True)
clst = cmds.cluster()
pos = cmds.xform(clst[1], q=True, ws=True, rp=True)
loc = cmds.spaceLocator()
cmds.move(pos[0], pos[1],
Hey
i fix it in this way: (not professional manner in writing code, but it
works for you now)
name = mc.textFieldGrp()
self.wg['textFieldGrp'] = name.split('|')[-1]
new code:
import maya.cmds as mc
class SimpleUI(object):
def __init__(self, *args):
self.wg={}
self.wg['win'] =
Thanks alot dear justin
:)
On Saturday, April 6, 2013 12:02:50 AM UTC+4:30, Justin Israel wrote:
The equivalent of sip for PySide is shiboken:
import shiboken
ptr = long(shiboken.getCppPointer(obj)[0])
On Apr 6, 2013, at 12:46 AM, vux wrote:
In PyQt i had function to get
yes.
I am reading it.
i learn more things from it.
it is very good book
On Thu, May 22, 2014 at 12:11 PM, Marcus Ottosson konstrukt...@gmail.comwrote:
I just finished reading this book and found it very helpful and full of
interesting use-cases.
Production Pipeline Fundamentals for Film and
100 matches
Mail list logo