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

Ayush Kumar
Ayush Kumar Member, Moderator, Employee Posts: 442
250 Likes Solution Developer Community of Practice Member Ansys Employee First Anniversary
✭✭✭✭
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: 442
    250 Likes Solution Developer Community of Practice Member Ansys Employee First Anniversary
    ✭✭✭✭
    Answer ✓

    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