• icon
  • Scripting in Mechanical Guide
  • back
  • forward
Contents
closeexpand
Scripting Examples |
Print page

Script Examples for Selection

The following scripts are for making selections in Mechanical:

  • Select Geometry or Mesh in the Graphics Window
  • Get Tree Object of a Body Corresponding to a Selected Body
  • Get GeoData Body Corresponding to a Tree Object of a Body
  • Query Mesh Information for Active Selection
  • Use an Existing Graphics Selection on a Result Object
  • Calculate Sum of Volume, Area, and Length of Scoped Entities
  • Create a Named Selection from the Scoping of a Group of Objects
  • Create a Named Selection that Selects All Faces at a Specified Location
  • Rescope a Solved Result Based on the Active Node or Element Selection
  • Scope a Boundary Condition to a Named Selection
  • Add a Joint Based on Proximity of Two Named Selections
  • Print Selected Element Faces
  • Get Normal of a Face
  • Create a Selection Based on the Location of Nodes in Y
  • Create Aligned Coordinate Systems in a Motor
« Scripting Examples 
 Select Geometry or Mesh in the Graphics Window »

Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.

Release 2024 R2 - © ANSYS, Inc. All rights reserved.