HayaNaji
Marine/Ocean
- Jun 9, 2016
- 14
Please help , how to make this script work ??
mdb.models['Model-1'].parts['Sec1'].ShellLoft(globalSmoothing=ON, loftsections= ((mdb.models['Model-1'].parts['Sec1'].edges.getByBoundingBox(0.0,0.0,0.0,0.5,0.0,0.0), mdb.models['Model-1'].parts['Sec1'].edges.getByBoundingBox(0.0,0.0,-10.5,0.0,0.0,0.0), mdb.models['Model-1'].parts['Sec1'].edges.getByBoundingBox(0.2,-3.5,0,0.5,0,0), mdb.models['Model-1'].parts['Sec1'].edges.getByBoundingBox(0.06,-7,0,0.2,-3.5,0), mdb.models['Model-1'].parts['Sec1'].edges.getByBoundingBox(0,-10.5,0,0.06,-7,0)), ( mdb.models['Model-1'].parts['Sec1'].edges.getByBoundingBox(0,0,2,2,0,2), mdb.models['Model-1'].parts['Sec1'].edges.getByBoundingBox(0,-12.5,2,0,0,2), mdb.models['Model-1'].parts['Sec1'].edges.getByBoundingBox(1.2,-3.5,2,2,0,2), mdb.models['Model-1'].parts['Sec1'].edges.getByBoundingBox(0.8,-7,2,1.2,-3.5,2), mdb.models['Model-1'].parts['Sec1'].edges.getByBoundingBox(0.6,-10.5,2,0.8,-7,2), mdb.models['Model-1'].parts['Sec1'].edges.getByBoundingBox(0,-12.5,2,0.6,-10.5,2))), paths=( (mdb.models['Model-1'].parts['Sec1'].edges.getByBoundingBox(0.0,0.0,0.0,0.0,0.0,2.0),), (mdb.models['Model-1'].parts['Sec1'].edges.getByBoundingBox(0.5,0.0,0.0,2.0,0.0,2.0),), (mdb.models['Model-1'].parts['Sec1'].edges.getByBoundingBox(0.2,-3.5,0.0,1.2,-3.5,2.0),), (mdb.models['Model-1'].parts['Sec1'].edges.getByBoundingBox(0.06,-7.0,0.0,0.8,-7.0,2.0),), (mdb.models['Model-1'].parts['Sec1'].edges.getByBoundingBox(0.0,-10.5,0.0,0.6,-10.5,2.0),), (mdb.models['Model-1'].parts['Sec1'].edges.getByBoundingBox(0.0,-12.5,0.0,0.0,-10.5,2.0),)))
I get the message Type error: loftsections[0][0];found GeomSequence,expecting vertex, what dies this mean ???