.NET

Reply
Contributor
andy_pu
Posts: 16
Registered: ‎01-21-2014
Message 1 of 3 (170 Views)
Accepted Solution

General Modeling Failure on union of two regions

170 Views, 2 Replies
02-07-2014 04:55 AM

Hi!

the drawing has a variety of regions. I need to union those that intersects.

region.BooleanOperation(BooleanOperationType.BoolUnite, subregion);

this code throw a message like that:

Logical operations failure on regions.
Error modeling operations:
      An error occurred during execution of the algorithm create the intersection face-face.

eGeneralModelingFailure

Can someone explain to me why there is an error? Regions intersects exactly.

Thanks!

There could be several reasons, including but not necessarily limited to:

 

1. The regions could be 'just' touching - the edges skim each other but don't actually overlap/touch within the required tolerance even though it looks to you like they are touching.

2. The drawing could be corrupt.

3. This could be a bug.

 

Related to (1) there is an effect where if you move a solid body (including regions) a long way from the origin (e.g. of the order of 1e6) then modelling accuracy can be affected and an operation that worked near the origin no longer works. Once you've moved the solid body, moving it back to the origin does not restore the accuracy.

 

But its not possible to say which may be the problem without more information.

 

 

Board Manager
StephenPreston
Posts: 383
Registered: ‎05-22-2006
Message 2 of 3 (154 Views)

Re: General Modeling Failure on union of two regions

02-07-2014 08:39 AM in reply to: andy_pu

There could be several reasons, including but not necessarily limited to:

 

1. The regions could be 'just' touching - the edges skim each other but don't actually overlap/touch within the required tolerance even though it looks to you like they are touching.

2. The drawing could be corrupt.

3. This could be a bug.

 

Related to (1) there is an effect where if you move a solid body (including regions) a long way from the origin (e.g. of the order of 1e6) then modelling accuracy can be affected and an operation that worked near the origin no longer works. Once you've moved the solid body, moving it back to the origin does not restore the accuracy.

 

But its not possible to say which may be the problem without more information.

 

 

Cheers,

Stephen Preston
Autodesk Developer Network
Contributor
andy_pu
Posts: 16
Registered: ‎01-21-2014
Message 3 of 3 (132 Views)

Re: General Modeling Failure on union of two regions

02-09-2014 11:50 AM in reply to: andy_pu

StephenPreston, many thanks for explanation!!!!

Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.