Automatic editing of a quote

Hi e verboso,
I’m looking a way ti set the quote automatic show the right linear Numbers increased by 1 unit; so for exemple, a segment of 200mm at the end of a quote command have the value showwd in the draw of 201mm…
Can you help me ti find out a way?
Thanks a lot

Hello - what is this? Is this a text field, maybe? Can you provide an example?
Maybe this:

%<CurveLength(“6881abc5-3a79-4a0c-b997-c9d2f2c79a71”) +1>%

?

-Pascal

Hi Pascal,
thks for answer;
xthe way is in the direction you are looking for but I need an expression that provide automatical increment of 1 unit of the original quote for every segment I’ll quote

Hello - something like this in Python may do:

import Rhino
import scriptcontext as sc
import rhinoscriptsyntax as rs


def LengthPlus():
    add = "1"
    rs.Command("_DimCurveLength")
    if rs.LastCommandResult() == 0:
        id = rs.LastCreatedObjects()[0]
    if not id:
        return
    geo = rs.coercegeometry(id)

    text = geo.PlainTextWithFields
    
    text = text.replace(">%", "+" +add + ">%")
    geo.TextFormula = text

    sc.doc.Objects.Replace(id, geo)
    sc.doc.Views.Redraw()
    
if __name__ == '__main__':
    LengthPlus()

Does that help?

-Pascal

Thanks Pascal!