Using ACT, how can I define a contact sizing for the mesh?

Pernelle Marone-Hitz
Member, Moderator, Employee Posts: 873
✭✭✭✭
Answers
-
The contact sizing can be created in the following way :
mesh=ExtAPI.DataModel.Project.Model.Mesh my_sizing=mesh.AddContactSizing() my_sizing.ElementSize=Quantity('0.002 [mm]') my_sizing. Name = "Contact Sizing Mesh"
Then, there are several methods to select which contact should be scoped in the sizing:
If you would like to select the contact by its order in the tree:
my_sizing.ContactRegion=ExtAPI.DataModel.Project.Model.Connections.Children[0].Children[0]
If you would like to select the contact by its name:
my_sizing.ContactRegion=ExtAPI.DataModel.GetObjectsByName("Contact2")[0]
0