• Posts 255
  • Reputation 8
  • Member Since
  • Last Active
Email
All Posts Topics Started Likes
SOuP 2017-05-14
Nevermind, Overlooked the info on the licensing Page 👍
0 0
SOuP 2017-05-14
Sounds like a great update Peter!

Regarding licensing... Does mayabatch require a full license of soup? Would be a shame to be forced to cache everything soupish before throwing it on the renderfarm😎
0 0
SOuP 2017-03-21
Some good stuff in this one Peter, thanks ! :)

Noticed a small bug in smart-connect:
Icons are messed up when in multiconnect mode.
0 0
transfer radiusPP from one particles to another
Had some time to look at the kdtree node, it's very very fast compared to attribute transfer, test scene attached.
0 0
transfer radiusPP from one particles to another
crocoraffe wrote: Thank you a lot! it helps me to understand logic of using attribut transfer

Your welcome, thinking of it, you can have varying particle count you just cant kill them :)
0 0
transfer radiusPP from one particles to another
Here's a setup for transfering radiusPP from one particle system to another, there's a switch for deactivating permanent change in the runtime rules. Using permanent change requires constant particle count.

It could probably be faster using the new kdtree node, but I haven't figured that one out yet :)
0 0
Query attribute type
Sure I'll shoot you a pm :)
0 0
Query attribute type
Now I get this error:

# Error: AttributeError: file S:\Maya_2016_R2_DI\build\Release\runTime\Python\Lib\site-packages\maya\OpenMaya.py line 54: unitType # 

Here's what I have so far, trying to streamline the connection workflow a bit and make it more accesible, sort of wrench on steroids :)

soup_connector.gif 
0 0
Query attribute type
Hi Peter

It fails with:

# Error: RuntimeError: file S:\Maya_2016_R2_DI\build\Release\runTime\Python\Lib\site-packages\maya\OpenMaya.py line 6344: (kInvalidParameter): Object is incompatible with this method #



when I try to do this:

Code:

import maya.OpenMaya as om
p = om.MPlug()
sl = om.MSelectionList()
sl.add("point1.inNormalPP")
sl.getPlug(0, p)
print om.MFnNumericAttribute(p.attribute()).unitType()


Do you know what I am doing wrong? Im on Win 7 and maya 2016.5
0 0
Query attribute type
pshipkov wrote: elif t == list:
    t2 = type(l[0])
    if t2 == int: print "int array"
    elif t2 == float: print "double array"
    elif t2 == str or t2 == unicode: print "string array"
    elif t2 == tuple: print "vector array"

This can get you quite far with no coding effort involved, but if you want to do it for realz you have to do what was in the link you provided.

p = om.MPlug()
sl = om.MSelectionList()
sl.add("myNode.myAttribute")
sl.getPlug(0, p)
print om.MFnNumericAttribute(p.attribute()).unitType()

This will return the numeric value but you can compare it like how is showed in the link you provided.


Thanks alot Peter, I believe I can build the rest from here :)
0 0
Query attribute type
That doesnt work in this situation.... try it on point1.inNormalPP for instance.

I'm trying to create a content aware marking menu for soup. The idea is that it pairs which attributes are suited for connections based on their type, for instance outPositionPP can be plugged into inPositionPP, inNormalPP etc. but not inWeightPP.

I got something nice working for a handfull of soup nodes but its alot of work to both keep track of attributes as well as their type... Not saying it cant be done but it would be nice to get that last part automatically and it would sure make things cleaner and easier to maintain.

Hope it's clear what I'm trying to do, otherwise I'll post a screen recording when back at work :)
0 0
Query attribute type
Is there some helpfull Soul, that can help me with a Small python snippet that returns a given attributes datatype through the Api?

I found this thread that seems to do what i Need but my python Api skills are Just too weak! :/

https://www.mail-archive.com/python_inside_maya@googlegroups.com/msg03534.html
0 0
Replace Alembic?
I found out recently that you can reference alembics in maya. It has worked fine for me so far... i too found the native alembic workflow a bit dodgy so i dont use it....

Reload/replace reference seems to work pretty well but havent tested it in complex scenes
0 0
SOuP 2017-02-27
Amazing! Thanks Peter! :)
0 0
open vdb 2017-01-31
I just installed maya 2017 and testet openVDB... it works here.

I am on win 7 so it might be a win 10 issue as MOAB points out...
0 0
count post selected

Add a Website Forum to your website.