How do I know if a selected face in Mechanical is associated with a cone, Cylinder, Surface plane etc.?
Check the surface type against GeoSurfaceTypeEnum. For example:
GeoSurfaceTypeEnum
Get the surface wrapper Ansys.ACT.Common.Geometry.GeoFaceWrapper in a variable ex. "mysurface"
Ansys.ACT.Common.Geometry.GeoFaceWrapper
Surface.SurfaceType == GeoSurfaceTypeEnum.GeoSurfaceCone Output: >>> False
Perform a dir(GeoSurfaceTypeEnum) to see all supported types in the Enum
dir(GeoSurfaceTypeEnum)
Enum