Hello everyone,
I am currently working on a Python script in Abaqus. The input is parametrized, for example:
# I-profile dimensions (mm)
h = 200.0
b = 120.0
tw = 6.0
tf = 10.0
columnExtrusion = 100.0 The script works fine so far. However, I would like to automate the partitioning of the assembly. For this, I am trying to use the defined points, for example:
# --------------------------------------------------------------- # Create partitions # --------------------------------------------------------------- # Reference to assembly and instance
a = mdb.models['Model-1'].rootAssembly
inst = a.instances['Komplettmodell-1']
# Select all cells of the instance
all_cells = inst.cells[:]
# Define points parametrically
v1 = inst.vertices.findAt((0, 0.5*h, 0))
v2 = inst.vertices.findAt((b, 0.5*h, 0))
v3 = inst.vertices.findAt((b, 0.5*h, -tf*10))
# Partition all cells using these points
a.PartitionCellByPlaneThreePoints(
cells=all_cells,
point1=v1,
point2=v2,
point3=v3
)
Unfortunately, I then get the following error:
"TypeError: keyword error on point 2"
Does anyone have an idea why Abaqus does not accept the defined points?
Thank you in advance for any help!
