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

Ayush Kumar
Ayush Kumar Member, Moderator, Employee Posts: 470
100 Answers 250 Likes 100 Comments Second 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: 470
    100 Answers 250 Likes 100 Comments Second 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