We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.

Ansys Learning Forum Forums Discuss Simulation General Mechanical User Defined Result Reply To: User Defined Result

Aniket
Forum Moderator

try recording the function from mechanical scripting,

You will get something like:

#region Details View Action
selection = ExtAPI.SelectionManager.CreateSelectionInfo(SelectionTypeEnum.GeometryEntities)
selection.Ids = [64]
user_defined_result_60.Location = selection

-Aniket

Forum Rules & Guidelines