algorithmic modeling for Rhino
Tags:
Hi Jerome,
RenumberPaths can only be used to convert an entire DataTree into something like this:
{0}
{1}
{2}
{3}
Or maybe:
{0;0}
{0;1}
{0;2}
{0;3}
You cannot use that method to modify the paths based on their current value. What you're looking for is a lexical replacement, which is a bit more involved. Basically you need to create two GH_Lexer instances, one describing the source and one the target. See attached.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
 LexicalReplace.gh, 3 KB
 LexicalReplace.gh, 3 KB                            Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
    © 2025               Created by Scott Davidson.             
    Powered by
    