getByBoundingBox command
getByBoundingBox command
(OP)
Hello guys :)
I working on a script to partition a face and I'm using the getByBoundingBox command to select that face
I wrote this script and tried to run it however the feature creation failed

This is my script
mdb.models['Model-1'].parts['sec1'].PartitionFaceByDatumPlane(datumPlane=
mdb.models['Model-1'].parts['sec1'].datums[7], faces=
mdb.models['Model-1'].parts['sec1'].faces.getByBoundingBox(0.53,-0.03,0.0,2.03,-0.03,2.0))
I want to know if there is something wrong with the script abnd how can I fix it, I appreciate if someone can help
Regards





RE: getByBoundingBox command
RE: getByBoundingBox command
You mean that I can define the faces before I do the partitioning?, can you write a script example please?
RE: getByBoundingBox command
p = mdb.models['Model-1'].parts['sec1']
Face = mdb.models['Model-1'].parts['sec1'].faces.getByBoundingBox(0.53,-0.03,0.0,2.03,-0.03,2.0)
p.PartitionFaceByDatumPlane(datumPlane=mdb.models['Model-1'].parts['sec1'].datums[7], faces=Face)
but I got the same result, Feature Creation failed!
RE: getByBoundingBox command
RE: getByBoundingBox command