yes, that`s what I started from, my node is based on this proxy. But
it doesn`t seem to have implemented output attributes for translate/
rotate. I checked the example surface constraint too. There are only
some useful internal methods, but I guess you need to make your own
outputs.
But, I just
well, after double checking. Maya connected keyframes directly per
axis (TX, TY, TZ etc..) while pairBlend was going compound --
compound. But, if it works :)
On Aug 20, 8:46 pm, Jakub Krompolc syntet...@gmail.com wrote:
yes, that`s what I started from, my node is based on this proxy
http://download.autodesk.com/us/maya/2009help/API/examples.html
;)
On Nov 4, 10:25 pm, John Creson johncre...@gmail.com wrote:
look in
Autodesk\Maya2010\devkit\plug-ins\scripted
On Wed, Nov 4, 2009 at 1:52 PM, Chad Vernon chadver...@gmail.com wrote:
There should also be some samples in
:38 am, Jakub Krompolc syntet...@googlemail.com wrote:
so... I found that one problem was in initialize function, because I
was adding my float Values array attribute and also adding it as child
of compound. But that still didn`t solve problem with adding values to
array plug in the command. I
about array in array, has anyone done creation of these in a command
(command takes a node and makes them)? I`m having problems using
different MPlugs functions to generate this. Usual
elementByLogicalIndex doesn`t seem to work here. On other hand it is
seems easy to do such operations within a
plug not by elementByLogicalIndex but using child()
function. And use elementByLogicalIndex only for single value
elements...
On Oct 29, 1:22 am, Jakub Krompolc syntet...@googlemail.com wrote:
thanks. I didn`t get to work on this again yet, but just went through
this PDF ILM skinning from A.Maiolo
value to 100 different indexes of new array I thought the
size would be 100 as well, but I`m getting 1.
On Oct 29, 10:44 pm, Jakub Krompolc syntet...@googlemail.com wrote:
actually I tried this before and now I`m getting same problem, that
the plug doesn`t exist. this is part of the code
will add new Values array. But it
just seems like a hack...
On Oct 29, 11:05 pm, Jakub Krompolc syntet...@googlemail.com wrote:
now it doesn`t error but still not adding all element, only 1 it
seems:
valuesPlug = listPlug.child(listCount)
for i in range(100):
elem
there. So your command just needs to find the
next available index. MPlug.getExistingArrayAttributeIndices will give you
the current indices.
-Chad
On Tue, Oct 27, 2009 at 7:03 PM, Jakub Krompolc
syntet...@googlemail.comwrote:
I`m trying to use arrayDataBuilder in the command, but it seems
arrayDataBuilder outside of the compute or deform
methods.
On Wed, Oct 28, 2009 at 7:09 AM, Jakub Krompolc
syntet...@googlemail.comwrote:
thanks Chad! will try that. do you think I should still use
buildDataAttribute? I think this wouldn`t make sense anymore...
Jakub
On Oct 28, 3
I`m trying to use arrayDataBuilder in the command, but it seems I
can`t do that without dataBlock. And as documentation says The data
block is only valid during the compute method of the depend node, it
looks like you can`t generate array attributes using command itself,
even the node
just a note, I had a chat with someone and it seems I could get the
DataBuilder in a command from MPlug... also I had some mistake in
initialize method. But please comment anyway if you have something to
say, as I might come back with other problem with this thing.
On Oct 25, 9:52 pm, Jakub
hello, I`m working on python deformer plugin. It`s a node that will
hold several arrays of float values. Those arrays are all under one
compound attribute (set as array as well). I want the same workflow as
Maya blendShape, so user will run a command and add another array when
he wants. The
13 matches
Mail list logo