.NET

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

General Modeling Failure on union of two regions

157 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!

Board Manager
StephenPreston
Posts: 368
Registered: ‎05-22-2006
Message 2 of 3 (141 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 (119 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!!!!

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community