7 lines
240 B
Python
7 lines
240 B
Python
|
|
modelNum = modelName
|
||
|
|
booloperation = CAD.BooLOperation()
|
||
|
|
booloperation.setBoolType('Common')
|
||
|
|
booloperation.set2d(0)
|
||
|
|
booloperation.setIndexOfSolid1InGeo(modelNum[0],0)
|
||
|
|
booloperation.setIndexOfSolid2InGeo(modelNum[1],0)
|
||
|
|
booloperation.create()
|