![]() The only information we can obtain from the scope box are its 12 boundary lines. It returns the minimal aligned bounding box for a Revit scope box element. I implemented a sample command SetSectionBox to test the concept, and a method GetScopeBoxBoundingBox to extract the scope box line geometry data, create a bounding box from that, and assign it to the view section box. You need to figure out the exact size and orientation from those twelve lines, and then decide how they should determine the view section box. The scope box Location property data is not accessible, so you can't use that.Īs far as I can tell, the only thing you have to go by is its geometry definition.Įxploring the scope box geometry in RevitLookup, you can see that it consists of exactly twelve lines, the edges of the scope box Step 1 requires reading and interpreting the scope box data. Step 2 is demonstrated by the discussion on how to is trivial: you simply say view.SectionBox = newSectionBox as shown below.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |