How to scope named selections/remote points in Frequency responses?

Options
Ayush Kumar
Ayush Kumar Member, Moderator, Employee Posts: 416
First Anniversary Ansys Employee Solution Developer Community of Practice Member First Answer
edited June 2023 in Structures

How to scope named selections/remote points in Frequency responses?

Tagged:

Answers

  • Ayush Kumar
    Ayush Kumar Member, Moderator, Employee Posts: 416
    First Anniversary Ansys Employee Solution Developer Community of Practice Member First Answer
    Answer ✓
    Options

    Just assigning the named selection object or the remote point object to the “Location” attribute should do it.

    ns = ExtAPI.DataModel.GetObjectsByType(Ansys.ACT.Automation.Mechanical.NamedSelection)[0]  # Retrieve the named selection / remote point object
    solAccX = Model.Analyses[0].Solution.AddAccelerationFrequencyResponse()
    solAccX.Location = ns