Community
3ds Max Programming
Welcome to Autodesk’s 3ds Max Forums. Share your knowledge, ask questions, and explore popular 3ds Max SDK, Maxscript and Python topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

proboolean

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
322 Views, 2 Replies

proboolean

Hello

I have a big max file (20Km on 20 Km) that I want to cut into separated smaller pieces (5Km on 5Km)

I thought I could use the ProBoolean tool in a script but it doesn’t work at all

I have a few objects and I created a bounding box for that area

This is the full script:

 

newPos = $.pos
delete $
max select all
objNum = selection.count
theObjs = selection
clearSelection()
for i = 1 to 1 do (
mybox = box length:5000 width:5000 height:500
mybox.pos = newPos
print “Boolean”
ProBoolean.createBooleanObjects theObjs[i] mybox 1 1 1
convertTo theObjs[i] Editable_Poly
)

If you can help me with the script/give me a different idea that would be great

Thank you

2 REPLIES 2
Message 2 of 3
drew.avis
in reply to: Anonymous

I think you have the createBooleanObjects parameters reversed - the first is operand A, and the second is an array of nodes to use as operand B.  So this would work:

 

ProBoolean.createBooleanObjects  mybox theObjs 1 1 1

 

Hope that helps,

Drew 



Drew Avis
Content Experience Designer
Message 3 of 3
Anonymous
in reply to: drew.avis

I changed it and it still didn't work.
Isn't there an option to do a simple boolean by script? (and not ProBoolean)
I can happily attach photos to make my problem and my need clearer

Thanks

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report