So, I have a piece that has a couple different text properties (that can be set by the user as is typical for the trait). I want to be able to clone it keeping the current value for one, and incrementing the other (which is generally a numeric sequence number).
So, set up the text fields as slaved to Dynamic Properties, handle the value setting through user prompts. Then use Place Marker to place a new instance of the piece and copy the values from the old one, incrementing the sequence as it goes.
It seems this only works for numeric values. Normally $Number$ is numeric, and if it is, the new marker increments the number fine. But it doesn’t have to be numeric, and if it isn’t, the new marker drops back to the default of “1” instead of keeping the original value (possibly doing something odd, thanks to the ‘+1’). $Class$ is typically text, (“D”, “CA”, etc), and that just loses the value completely in the new marker.
(Aside #1: Is there a way to define a prototype setting up these text labels/dynamic properties, have a piece use the prototype, and define its own starting value?)
(Aside #2: Is it possible to increment letters? Property has value “A”, you tell it ‘$example$+1’ and it becomes “B”. Not what I want here, but I might elsewhere.)
