Change Tabular Data Values of a Standard Load or Support

Goal: Change the tabular data values of a standard load or support in Mechanical.

Code:

pressureLoad=ExtAPI.DataModel.Project.Model.Analyses[0].AddPressure()
pressureLoad.Magnitude.Output.DiscreteValues = [Quantity('0 [MPa]'),Quantity('10 [MPa]')]

Release 18.2 - © ANSYS, Inc. All rights reserved.