[Maya-Python] Using MArrayDataBuilder in python API 2.0

2021-07-02 Thread f.mi...@gmail.com
I need a simple DG node that uses connected mesh and copies vertex coordinates to output MPoint array. I am having trouble with setting this array with MArrayDataBuilder. It ether always stays zero-length or grows on every compute(). This surely must be simple to do, but I'm stuck. Can anybody he

Re: [Maya-Python] Using MArrayDataBuilder in python API 2.0

2021-07-03 Thread f.mi...@gmail.com
und attributes always makes life hard. Does it behave any different > with plain float attributes? I.e. can the problem be isolated to the > compound attributes? > > On Fri, 2 Jul 2021 at 10:01, [email protected] wrote: > >> I need a simple DG node that uses connected mesh and copie

Re: [Maya-Python] Using MArrayDataBuilder in python API 2.0

2021-07-05 Thread f.mi...@gmail.com
to replace the compound > attribute with a float, does it still cause trouble? If so, then we know to > look more closely into the compound attributes. If not, then we could > strike that off. Either way, being one step closer to success. > > On Sat, 3 Jul 2021 at 11:56, f.mi...@gma

[Maya-Python] Check if timeline is playing Trax sounds

2021-11-29 Thread f.mi...@gmail.com
How do I query if timeline is using Trax to play sound ? There seems to only be options to query for individual sound nodes: https://help.autodesk.com/view/MAYAUL/2022/ENU/?guid=__CommandsPython_index_html See attachment for screenshot -- You received this message because you are subscribed

[Maya-Python] Re: automating a render

2025-11-26 Thread f.mi...@gmail.com
are you rendering with standalone arnold kick.exe? If yes, here's part of code ripped from my setup to export .ass files: import maya.app.renderSetup.model.renderSetup as renderSetup def RenderCacheExport(renderLayers, frameList): tryAttr("defaultRenderGlobals.animation", 1) #tryAttr is a

[Maya-Python] Re: I can't build plugin for maya 2026

2025-11-26 Thread f.mi...@gmail.com
Some DLLs can't be found and loaded. You could try Dependency Walker and try to find what DLL is missing. Start it from maya session (for example with MEL: system "c:/.../depends.exe") and load your MLL plugin file. From there you may be able to find wha