How do I know if a selected face in Mechanical is associated with a cone, Cylinder, Surface plane et
Ayush Kumar
Member, Moderator, Employee Posts: 450
✭✭✭✭
How do I know if a selected face in Mechanical is associated with a cone, Cylinder, Surface plane etc.?
Tagged:
0
Answers
-
Check the surface type against
GeoSurfaceTypeEnum
. For example:Get the surface wrapper
Ansys.ACT.Common.Geometry.GeoFaceWrapper
in a variable ex. "mysurface"Surface.SurfaceType == GeoSurfaceTypeEnum.GeoSurfaceCone Output: >>> False
Perform a
dir(GeoSurfaceTypeEnum)
to see all supported types in theEnum
6