How link VRayUserScalar or VRayUserColor to Transform?

Hi!

I need create link from VRayUserScalar or VRayUserColor to Transform attribute in placement node. Like UVWGenPlanarWorld.uvw_transform
If I create it in VRayUserColor scene and connect to placement translate it does not export.

If i do it in post translate, it’s does not working to))

userScalarTest = create(“TexUserScalar”, “userScalarTest”)
userScalarTest.set(‘default_value’, 0)
userScalarTest.set(‘user_attribute’, ‘userScalarTest’)

place = findByName(‘place3dTexture1’)[0]
place.set(‘uvw_transform’, Transform(Matrix(Vector(0.985, 0.174, userScalarTest),
Vector(-0.174, 0.985, 0.000000),
Vector(0.000000, 0.000000, 1.000000)),
Vector(-0.000000, -0.000000, -0.000000)))

I need control for mapping position form userAttr in proxy instances

Solved by UVWGenSwitch

Hi,

V-Ray doesn’t support textures applied to transform parameters in most plugins.
The UVWGenSwitch approach should be fine.