Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
General Mechanical

General Mechanical

Topics related to Mechanical Enterprise, Motion, Additive Print and more.

Ansys ACT – Scoping Method

    • lukaszd13
      Subscriber

      Hi all


       


      Anyone knows how to change scoping method from geometry selection to named selection and then use a predefined geometry for result presentation?


       


      #Add total deformation


      dt = ExtAPI.DataModel.Project.Model.Analyses[0].Solution.AddTotalDeformation()


      dt.DisplayTime=Quantity("1.0 [sec]")


      dt.Name = "Global Deformation"


      dt.????? - to select only a part of the structure.


      Thanks in advance!


       

    • alexmarsh
      Subscriber

      I've been struggling with a similar problem, but seem to have got somewhere. The values of dt.InternalObject.GeometryDefineBy should be different depending on whether you have geometry selection or (as in my case) a construction geometry surface selected - I assume something similar is true for a named selection. You can set this value by dt.InternalObject.GeometryDefineBy = the value corresponding to the scoping method you want. That's all I've got for now, hope it helps

    • alexmarsh
      Subscriber

      An addition, in case anyone has a similar problem: I was missing the need to define dt.InternalObject.PathSelection = (ObjectId for the surface I had created)

Viewing 2 reply threads
  • The topic ‘Ansys ACT – Scoping Method’ is closed to new replies.
[bingo_chatbox]