View.Outline - Incorrect documentation or bug?

View.Outline - Incorrect documentation or bug?

Anonymous
Not applicable
1,321 Views
5 Replies
Message 1 of 6

View.Outline - Incorrect documentation or bug?

Anonymous
Not applicable

I've known about this one for quite a while and I mentioned it here back in July 2013 when I had a different account, but I've just come up against it again myself and it had me scratching my head for a few minutes until I remembered, so I thought I'd bring it up to see if we can get this sorted out.
The API documentation for View.Outline states: The bounds of the view in paper space (in inches). while the values returned are actually in feet.
This is either a bug or simply an error in the documentation.
While it does make sense for the Outline to be in inches as described, For consistency I would think it best that all lengths and positions use the same units so I believe it to be the documentation that is incorrect here and not the implementation.

0 Likes
Accepted solutions (1)
1,322 Views
5 Replies
Replies (5)
Message 2 of 6

jeremytammik
Autodesk
Autodesk
Accepted solution

Dear Scott,

 

Thank you for your report.

 

I logged the issue REVIT-88281 [API documentation bug on View.Outline] with our development team for this on your behalf as it requires further exploration and possibly a modification to our software, or documentation, in this case. Please make a note of this number for future reference.

 

You are welcome to request an update on the status of this issue or to provide additional information on it at any time quoting this change request number.

 

I hope this helps.

 

Best regards,

 

Jeremy



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

Message 3 of 6

Anonymous
Not applicable
Thanks Jeremy.
0 Likes
Message 4 of 6

jeremytammik
Autodesk
Autodesk

Dear Scott,

 

A follow-up question on the issue REVIT-88281 [API documentation bug on View.Outline].

 

The development team asks: Do you know which is the user preference? To report this in inches or feet?

 

I don't suppose it matters, but if anyone has a wish, please speak now or forever hold your peace.

 

Thank you!

 

Best regards,

 

Jeremy



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

0 Likes
Message 5 of 6

Anonymous
Not applicable
For consistency with the rest of the API, my vote is for feet. One less length unit to worry about.
0 Likes
Message 6 of 6

jeremytammik
Autodesk
Autodesk

Dear Scott,

 

Thank you for your update.

 

I added a note of your wish and suggestion to the issue REVIT-88281 [API documentation bug on View.Outline].

 

Best regards,

 

Jeremy



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

0 Likes