Big gap in the view when scale "1:1"

Big gap in the view when scale "1:1"

jejeno2544
Participant Participant
261 Views
1 Reply
Message 1 of 2

Big gap in the view when scale "1:1"

jejeno2544
Participant
Participant

Hi all,

I create a top view for the assembly (which consists of 1 pipe) and set the scale to "1:1".

 

ViewSection viewSection = AssemblyViewUtils.CreateDetailSection(document, assemblyInstanceId, AssemblyDetailViewOrientation.ElevationTop);
viewSection.Scale = "1:1";

 


After creating, I get a big gap between the element and the detail line in the top view:

jejeno2544_0-1677158313725.png

Zoomed detail line:

jejeno2544_1-1677163938378.png

 



Is there any way to bridge this gap?

262 Views
1 Reply
Reply (1)
Message 2 of 2

jeremy_tammik
Alumni
Alumni

You share two lines of programming code, so I assume you are asking this from a Revit API programmer's point of views. However, the Revit API just wraps the standard product end user inerface functionality. So, to address this question, we need to determine how it can be solved in the UI. Do you have any idea? I do not. If not, I would suggest asking in the more UI-savvy Revit Architecture forum. Maybe somebody there knows better. Just looking at your two lines of code, I would assume that this is standard behaviour.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open