@zipit work fine thanks a lot

Passion3D
@Passion3D
8
Reputation
80
Posts
266
Profile views
0
Followers
0
Following
Posts made by Passion3D
-
RE: XPresso: Modify UserData
@zipit
In this test, the modification works well, but the cycle button is not updated.
I added c4d.EventAdd(), but in this case it runs in a loop :)
Test2.c4d -
RE: XPresso: Modify UserData
@zipit Thanks. I test and keep you informed ;)
-
XPresso: Modify UserData
I have a UserData "MyData" of type Button Cycle and i would like to modify its contents, in python node
-
XPresso python node
In a python node, is it possible to know how many inputs and outputs there are? and their name?
-
RE: Change a rendering parameter in python xpresso node
@Cairyn Thanks, all work fine for this module
-
RE: Change a rendering parameter in python xpresso node
@PluginStudent
Your link is about the creation of a material (and that I already know how to do), not a render parameter.But I have tound the solution.
shader = firstVP[c4d.VP_VRAYBRIDGE_ENVIRONMENT_BACKGROUNDTEX] if shader == None: shader = c4d.BaseList2D(c4d.Xbitmap) firstVP.InsertShader(shader) firstVP.GetDataInstance()[c4d.VP_VRAYBRIDGE_ENVIRONMENT_BACKGROUNDTEX] = shader shader[c4d.BITMAPSHADER_FILENAME] = "approaching_storm_4k.hdr"
Other question, how to remove it? I don't have found "DeleteShader" or "RemoveShader"