An interesting bug of the standard function ;)

An interesting bug of the standard function ;)

Anonymous
Not applicable
242 Views
1 Reply
Message 1 of 2

An interesting bug of the standard function ;)

Anonymous
Not applicable

Hello! 

 

In my code I use Revit api function "Distance". Like this:

C.Distance(p)

 

I got an interesting error. If C - is arc and p - is center of this arc, this function doesn't work.

I got error:

Distancethrew an exception of type 'Autodesk.Revit.Exceptions.InvalidOperationException' Double {Autodesk.Revit.Exceptions.InvalidOperationException}

 

 

0 Likes
243 Views
1 Reply
Reply (1)
Message 2 of 2

RPTHOMAS108
Mentor
Mentor

Would be the same limitations as described within Curve.Project method exceptions I assume (generic solutions). 

0 Likes