Quantcast
Channel: All Revit API Forum posts
Viewing all articles
Browse latest Browse all 66796

Re: View Crop Region Shape Manager of Elevation View locking the crop view

$
0
0

hi,

I recall this happened to me when i created the elevation bounded to Scope box. it introduced the same behaviour. however, try to set the view depth based on Boundingbox and not CropShapManager

something like this:

var vbx = room.get_BoundingBox(null);
//then change the Minimum and Maximum to identify the the Elevation start/End Point and the Depth
//set the cropbox option true
elev.CropBoxActive = true;
//Remember to Regenerate the document here
doc.Regenerate();
//finally assign the boundingbox to the view.
elev.CropBox = vbx;

hope that helps

 

 


Viewing all articles
Browse latest Browse all 66796

Trending Articles