Message 1 of 2
An interesting bug of the standard function ;)

Not applicable
06-02-2021
02:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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}