Length of Section Line

Hey mate,

Every time i generate view through Tool.AssemblyViews i get different length of section line & tags below element. Can you please suggest any way to standardize length of section line or tag. Please see image showing same views generated twice but having different length each time.

Could you show your Dynamo graph? Otherwise it’s rather difficult to find out where the problem might be, might also be a Revit problem.

See below

Let me know if anything else is required to analyse. Also if there is any other way than this please suggest.