I’m Trying to Duplicate and Add suffix with this Script. Seems like I’m doing something wrong with DataShapes Package. If I input Normal text no problem . But I’m getting error with Datashapes. And Can anyone tell me how to set Default Value in the UI.MultipleInputForm.
i think you’re using the UI.MultipleInputForm wrong… it should have input types like:
Can you upload the whole graph?
seq is the same as get item at index 0.
it means that there is no index 0 or 1 i think.
Please provide the graph and/or an image with all result window s shown.
@Sujan I get an error opening your file. could you upload a screenshot of your full graph with results pinned?
Suddenly the Exact script has worked now.I was getting Null value from User Inputs previously.
- How do I reset UI Input Value?
- How do I reset Current Selection Value?
- Is it possible to have Number of Views to Duplicate Options with 1,2,3…?
What could be a Better idea to make Number of views?
Almost anything is possible. To select model elements you could also use DataShapes:
Just add this to the list before UI.MultipleInputForm++
What do you mean with “Is it possible to have Number of Views to Duplicate Options 1,2,3 ?”
1.Hi, views are not Model Elements so this method does not work!
2. For Example I might need 3-4 Dependent Views most of time. How do I get no. of views to Duplicate Option.
View 1-Zone 1
View 1- Zone 2
View 1- Zone 3
See if this works with what you are trying to achief:
If you pin the UI.MultipleInputForm++ you can see what index each item has.
i used index 0 and 1 but its dependend of the sequence you put the inputs in.
You could do naming trough an Excel file, its possible to let the user select the file trough the same interface.
Here an example, the naming of the views is in column A of the excel file. the number of duplicated views is counted from the amount of rows in the excel file.
Its all yellow because i didnt select a file, it will run fine