Goal: Change the tabular data values of a loading condition for a given time step.
Code:
StaticAnalysis=ExtAPI.DataModel.Project.Model.Analyses[0] MyForce=StaticAnalysis.AddForce() MyForce.DefineBy=LoadDefineBy.Components MyForce.XComponent.Inputs[0].DiscreteValues=[Quantity('0[s]'),Quantity('0.5[s]'),Quantity('1[s]')] MyForce.XComponent.Output.DiscreteValues=[Quantity('0[N]'),Quantity('15[N]'),Quantity('50[N]')]