A quick one (while he’s away…)

Task for today – create a wall “Mark” parameter value that is individual for each wall, shows it’s bottom constraint, and dress it up with a “W” prefix.

OK – Dynamo – here we are:


Not necessarily rocket science but still worthwhile to explore – given that it a quick one at the end of a quite long day – so what are we doing here?


We collect all walls and count them and create a string from the count – remember the “Mark” parameter  requires a string….

Further down the drain we do a lot of string manipulation to get an individual number for each wall as a string padded to a “XXX” format


At the same time we extract the “Base Constraint” parameter from all the wall elements and clean up that string to show what we want:


We add the “W_” prefix


And here we go…


Kinda cool for Saturday Night…

One thought on “A quick one (while he’s away…)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s