Need a Script to add rows by clicking on Button
Thanks for the reply.
I created a canvas but I am unable to link the script to a buttton. Attached canvas has a 3d shape Row+. I want a button similar to 3d shape(Row+) and once I click on this it should run the script
|Matrix1::B|.children.create(10)
So, How do I add a button to canvas in quantrix? and how do I link this button to the script?
Thanks
ShriShank,
Say you have a Matrix Called Matrix1 with a category of "B" this is the syntax to use:
|Matrix1::B|.children.create(1)
If you want to add 1 item to the category B you would input 1 as shown. To add more than 1 item you change the number 1 to some other integer and that number of items will be added each time you run a script.
Here is a video on Quantrix Authority on Youtube that demonstrates this very task
https://www.youtube.com/watch?v=IVX4gY2m-k8
Good Luck,
Rich Lopez