Geometry in which group after boolean subtract??
-
If you have two groups and do a boolean subtract on one to the other then what group does the resulting geometry end up in??
so for example....
result = group2.subtract(group1)
The group isn't called 'result' because if I do 'result.class' I get 'NilClass' and neither is it called group1 or group2 (original groups) because if I type these in I get a reference to a deleted entity - #<Deleted Entity:0x7fd36ac90d70>. So how do I get a reference to this new resultant group??Thanks
Matt -
**my own stupidity - the subtract was done within a defined method so just couldn't access it outside it..
putting @ in front solved it... @result
-
Also, if the
subtractstatement is the last one evaluated in the method, it's result will be the return object from the method itself.Otherwise you can insert a statement like:
return resultas the last statement.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement