334x
002485
2021-03-24

FAQ 004975 | How can I use the COM interface to set the calculation parameters of a load ...

Question:
How can I change the calculation parameters of a load case using the COM interface?

Answer:
The calculation parameters of a load case cannot be set initially, when creating it, but only afterwards, using the interface of the existing load case. To get the interface of a load case, you have to get the interfaces 'IModel' and 'ILoads' first:

Use 'ILoads.GetLoadcase' to get the interface for a specific load case. This interface provides the functions 'GetAnalysisParameters' and 'SetAnalysisparameters' that you can then use to read out and write the parameters.

The same procedure also applies for load combinations.