-
-
December 3, 2019 at 12:59 pm
lukaszd13
SubscriberHi 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!
-
January 3, 2020 at 2:43 pm
alexmarsh
SubscriberI'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
-
January 8, 2020 at 11:25 am
alexmarsh
SubscriberAn 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)
-
- The topic ‘Ansys ACT – Scoping Method’ is closed to new replies.
-
5844
-
1906
-
1420
-
1305
-
1021
© 2026 Copyright ANSYS, Inc. All rights reserved.