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
Welcome to
Grasshopper
© 2025 Created by Scott Davidson.
Powered by