.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error on adding the same solid twice?

0 REPLIES 0
Reply
Message 1 of 1
ACDC09
206 Views, 0 Replies

Error on adding the same solid twice?

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 REPLIES 0

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost