Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

strange error intersect method

2 REPLIES 2
Reply
Message 1 of 3
AndrewButenko
306 Views, 2 Replies

strange error intersect method

Hello!

 

I have two arc :

 

ar1 - Beg (74,8115396335499 ; 41,2888487663369)

        End (74,6947991545691 ; 40,5049574569469) LineType=Autodesk.Revit.DB.Arc

 

ar1.Radius  - 77.23866913504196 Double

ar1.Center {(-1.641966087, 52.273996595, 0.000000000)} Autodesk.Revit.DB.XYZ

 

 

 

ar2 Beg (74,9202306615204 ; 42,0738966532894)

      End ( 7 4, 8 1 1 5 3 9 6 3 3 5 5; 41,2888487663369) LineType=Autodesk.Revit.DB.Arc

 

ar2.Radius 77.238669139034229 Double
ar2.Center {(-1.641966091, 52.273996596, 0.000000000)} Autodesk.Revit.DB.XYZ

 

 

I have error  "The intersection result could not be computed" in the command : ar1.Intersect(ar2).

 

What problem?

2 REPLIES 2
Message 2 of 3

Dear Andrew,

 

Is the issue you report related to the discussion we recently had on SetComparisonResult incorrectly returns Equal with elliptical arcs?

 

https://forums.autodesk.com/t5/revit-api-forum/setcomparisonresult-incorrectly-returns-equal-with-el...

 

If so, it is already being looked at.

 

If not, please provide a reproducible case for me to pass on to the development team for analysis:

 

http://thebuildingcoder.typepad.com/blog/about-the-author.html#1b

 

Thank you!

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 3 of 3
RPTHOMAS108
in reply to: AndrewButenko

 Apparently exception of that description relates to element not being in the right state but I don't know what that means.

 

You have a negative radius but I guess that is just a misrepresentation here?

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

Post to forums  

Autodesk Design & Make Report