Error on adding the same solid twice?

Error on adding the same solid twice?

Anonymous
Not applicable
358 Views
0 Replies
Message 1 of 1

Error on adding the same solid twice?

Anonymous
Not applicable
Hi all,

Is it possible to add the same Entity(Solid3d) twice?
I have a program that build some solids, where two of these solids are subtract from an other solid, what I did is this:

solid1
btr.AppendEntity(sol1);
tr.AddNewlyCreatedDBObject(sol1, true);
solid2
btr.AppendEntity(sol2);
tr.AddNewlyCreatedDBObject(sol2, true);
solid3
btr.AppendEntity(sol3);
tr.AddNewlyCreatedDBObject(sol3, true);
solid4(same as solid3)
btr.AppendEntity(sol4);
tr.AddNewlyCreatedDBObject(sol4, true);

sol1.BooleanOperation(BooleanOperationType.BoolSubtract, sol3);
sol2.BooleanOperation(BooleanOperationType.BoolSubtract, sol4);

what I like to do is this:

sol1.BooleanOperation(BooleanOperationType.BoolSubtract, sol3);
sol2.BooleanOperation(BooleanOperationType.BoolSubtract, sol3);

is this possible?
A side question what is the best way to create a shape for example a closet, this is a simple shape but it exists from several solids. What I do now is to create 8 solids and move them together. I think there is more efficient way to do this, but I don't know this yet :)...


Thanks. Edited by: ACDC09 on Aug 23, 2009 2:12 PM
0 Likes
359 Views
0 Replies
Replies (0)