- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am getting a different result with 2018 than I was with 2017 and previous versions of Revit.
Dim oBBoxCropView As DB.BoundingBoxXYZ
' do some stuff to create required bounding box.
Dim V3D As View3D
V3D.CropBox = oBBoxCropView
The code for creating the bounding box results in an identical BoundingBox, but when applied to the view crop box, results in a very large max and min extent.
Has anyone else experienced this?
?oBBoxCropView
{Autodesk.Revit.DB.BoundingBoxXYZ}
Max: {(43.355956267, 0.075662107, -0.100000000)}
Min: {(21.252267057, -21.180810247, -1000.000000000)}
?V3D.CropBox
{Autodesk.Revit.DB.BoundingBoxXYZ}
Max: {(43.355956267, 0.075662107, -0.100000000)}
Min: {(21.252267057, -21.180810247, -1000.000000000)}
But with Revit 2018, using the same values for oBBoxCropView results in an invalid cropbox for the view.
?V3D.CropBox
{Autodesk.Revit.DB.BoundingBoxXYZ}
Max: {(-1000000000000000019884624838656.000000000, -1000000000000000019884624838656.000000000, -0.100000000)}
Min: {(1000000000000000019884624838656.000000000, 1000000000000000019884624838656.000000000, -0.120000000)}
Solved! Go to Solution.