.NET

.NET

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

General Modeling Failure on union of two regions

182 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.

 

 

ADN Support Specialist
StephenPreston
Posts: 429
Registered: ‎05-22-2006
Message 2 of 3 (166 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: 19
Registered: ‎01-21-2014
Message 3 of 3 (144 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!!!!

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.