Hey everyone !
I'd like to have a script wich create a Bezier float node in the slate material editor and then connect it to every selected node which have the UV Tile property.
So i can change the tiling easyly on a lot of node.
I don't know how to connect node together and I don't know how to check the property of the selected node...
Please help !
SelView = sme.GetView sme.ActiveView --get active view
SelNode = SelView.getSelectedNodes() --get selectednode
UVctrl = Bezier_Float() --create a float controller
UVctrlNode = SelView.CreateNode UVctrl NodePos --create the node in the active view
UVctrlNode.name = "Uv_TileController" --change the name of the bezier node
for i = 1 to SelNode.count do
(
/*
here what i want to do but can't
-test if SelNode[i] hasproperty uvtile
-if true connect the controller to the property
*/
)