Quantcast
Viewing all articles
Browse latest Browse all 16762

How do I using an API functions about Repeat Load

Hello, guys. I'm trying to get the information about Repeat Load by C# now.

The only 3 functions relevant with getting Repeat Load setting I found so far are:

1. GetRepeatLoadCount()

I though it return the number of Repeat Load in currently highlighted Load Case, regarding that I need to make the highlighted Load Case be iterated automatically in my program, I also found that I can change the focused Load by using SetLoadActive(object varLoadNo).

2. GetNoLoadFactorInRepeatLoad(int nIndex)

I thought this function returns the number of consisting Primary Load Case in the  Nth Repeat Load of currently highlighted Load Case, and the variable N starts from 0.

3. GetRepeatLoadByIndex(int nIndex, ref object iLoad, ref object dFactor)

For this function, the variable nIndex means as the same as previous one, indicates the Nth Repeat Load of currently highlighted Load Case. However, my question is, why did it return a very big load indices (such as 76742866 and 76362580) and very small load factors (such as 6.36598737388395E-314) which totally didn't exist in my model setting?

And if I am wrong, please feel free to point out any mistake I made above, thanks!!


Viewing all articles
Browse latest Browse all 16762

Trending Articles