XGen setAttr to fxModule

254 views
Skip to first unread message

Jeremy YeoKhoo

unread,
Nov 28, 2014, 11:55:50 PM11/28/14
to python_in...@googlegroups.com
Hey guys,

Do any of you have experience in the following? I am trying to set an attribute of an fxModule of a Description, of a palette/collection in XGen. I can do an maya.xg.setAttr to the objects of  descriptor but annoyingly I cant seem to set the fxModule.

Can anyone help?

Thanks
-J

Nick Burkard

unread,
Nov 29, 2014, 1:47:03 AM11/29/14
to python_in...@googlegroups.com
Probly not unless you write something custom . However you can use palette expressions to populate your seExpr attributes and then you only have 1 place to setAttr
--
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 from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/32bb9287-dca3-44aa-9989-2ec61ed738ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jeremy YeoKhoo

unread,
Nov 29, 2014, 9:11:34 PM11/29/14
to python_in...@googlegroups.com
Hi Nick,

Could you elaborate in regards to palette expressions?

Anyway, the only way that I found to change the attribute is change the attributes or in this case parameters in the .xgen or .xgfx file externally and then xg.importFXModule the .xgfx

Bit messy though

-J



On Saturday, 29 November 2014 17:47:03 UTC+11, Nick Burkard wrote:
Probly not unless you write something custom . However you can use palette expressions to populate your seExpr attributes and then you only have 1 place to setAttr

On Nov 28, 2014, at 8:55 PM, Jeremy YeoKhoo <jyeo...@gmail.com> wrote:

Hey guys,

Do any of you have experience in the following? I am trying to set an attribute of an fxModule of a Description, of a palette/collection in XGen. I can do an maya.xg.setAttr to the objects of  descriptor but annoyingly I cant seem to set the fxModule.

Can anyone help?

Thanks
-J

--
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 from it, send an email to python_inside_maya+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages