How to select all in Matsum y-vector set request?

I have a .matsum file to plot in Hypergraph. There are a lot of plots in "Y Request". While doing manually, we have the option to select "All". But I couldn't select "All" through the API "pltIVector_handle SetRequest request." I am able to give only one request at a time. This consumes a lot of time than doing manually. Is there a better solution for this?
Thanks in Advance!
Answers
-
Hello Sathish,
when you script curve, you need to create a loop to cover all your request. So basically you weel need to get the list of request with "pltIVector_handle GetRequestList" that you will have to store in a list
Then you need to loop over each element of the list thanks to foreach statement :
set requestlist [pltIVector_handle GetRequestList]
foreach curverequest $reqlist {
#call Y type, request and component
#call X Type, Request and Component
#Plot the curve
}
0