General

General

How can I use ACT to detect the analysis type? (i.e. 3D, Plane Stress, Plane Strain, Axisymmetric)

    • FAQFAQ
      Participant

      Two APIs can be used to detect analysis type in Mechanical: ExtAPI.DataModel.GeoData.Assemblies[0].Dimension ExtAPI.DataModel.Project.Model.Geometry.Model2DBehavior You can use the first to see if it is a 3D or 2D analysis, and if 2D, you can use the second to see the type (Plane Stress, Plane Strain, Axisymmetric). Note that even if it’s a 3D analysis, the second command will return a value (Plane Stress).