Trimble Business Center

 View Only
Expand all | Collapse all

Override Segment Length Tool/Macro?

  • 1.  Override Segment Length Tool/Macro?

    Posted 06-25-2020 11:06

    I was curious if the development team had considered creating a stand alone tool or macro to establish linestring segment length by numbers of segments/length?  I run into situations where I need to densify surface models and instead of breaking the linestring(s) into multiple segments I prefer to override segment lengths so I don't have to filter through multiple linestring endpoints to stake a single line.  The option to override segment lengths should have it's own tool (in my opinion) so you don't have to use the properties pane.  If you need to override segment length on multiple linestrings by uniform number of segments you have to so 1 linestring at a time due to the limitations (in my opinion) of only being able to override segment length by distance only.




    @Alan Sharp

  • 2.  Re: Override Segment Length Tool/Macro?

    Posted 06-26-2020 05:58


    I am trying to work out what you are asking for here.


    Currently you can select any number of linestrings graphically and in the properties pane you can override the segment length on all the elected lines in one pass and change the value to a common value.


    If each line needs a separate value then change the flag on all the lines to the Override, and then select each line in turn after setting the override and enter its own value


    If each line you select has to have a different override length then you can also pick lines one at a time and override the length with different values.


    The value you enter in the override is a Max value so for example if you have line segments of a single line of 6m, 7m, 8m, 9m, 10m in length then in those segments, when you apply a max value of 2 then in the first segment the divisor will be 2, in the second line it will be 1.75, then 2 then 1.8 then 2 etc. so it is dividing each segment of the line into approximately equal lengths based on the length of the segment and the max length override that you enter - so entering a value of divisors over the entire length of the line would not work today because the divisor is computed on each segment (and this is likely the right way to do this as all segments will be variable length), and for sure on curves you want to use Arc to chord to compute those. 


    What would an extra command do that you cannot do with the properties pane already? 


    Are you asking to be able to effectively "divide line" by looking at the length of the line and dividing it into a number of segments (for model purposes only) where the length of each segment is Length of line / number of segments and set that as the override length value?


    If yes, can you explain when that approach is more useful than just entering a value for the segment length?


    This should likely only really affect long straight segments of a line anyway as the horizontal and vertical tolerance setting (in project settings) should take care of all the Hz and Vt curve sections of a linestring in the model.



  • 3.  Re: Override Segment Length Tool/Macro?

    Posted 07-06-2020 12:40



    In the process I go through to densify a surface model I place additional ttm feature lines (A) in between the main slope/grade lines (B) and then to place additional drape lines (C) onto those to create uniform triangles (1) for the ttm that act similarly to cross section densification on a corridor model.  I would like to eliminate the last step (C) by being able to select multiple lines and batch overriding their segment lengths either by length or uniform number of segments instead of using the properties pane on individual/multiple linestrings.  I was also hoping to avoid dividing linestrings (2) into multiple segments and populating the project file with numerous linestring segments (D).  The other useful feature of overriding segment length is that it does not place additional VPI's along the linestring when the line is used for staking purposes.