Tinderbox Training Video 25 - Planning with Tinderbox Deconstruction

Tinderbox Training Video - Planning with Tinderbox Deconstruction

Level Advanced
Published Date 1/17/21
Tags Tinderbox, aTbRef, 4Cs of Knowledge Exchange, Action Code, Adornment, Event Planning, Container Table Display, Map Coordinates, Prototypes
Video Length 32:38
Video URL TBX L Planning with Tinderbox Deconstruction - YouTube
Example File TBX - L Planning with Tinderbox Deconstruction.tbx (157.7 KB)
Revision 1
TBX Version 8.9
Instructor Michael Becker

In this Lesson, I deconstruct Mark Bernstein’s wonderful 2019 video “Planning with Tinderbox.”

I show you how to implement the two main event planning strategies that he lays out in his training, 1) basic event planning on a single adornment, and 2) dynamic event planning on multiple adornments. I then follow-up with a summary on how to use an agent, like Mark did, to assess a participant’s activity, but I do it with a twist.

This lesson has it all, 1) note creation, 2) prototypes, 3) previews, 4) adornments, 5) action code, 6) agent queries, 7) understanding and executing automatic note sizing and positioning using action code and $Xpos and $Ypos.

TBX -L Planning with Tinderbox Deconstruction

Reference Material

4 Likes

Woha !! Thank you so much for these . I spent close to 45 minutes myself going through the video and applying it . I can only imagine the time you invested to make this gem for us . Thank you again .

  • Towards the end I realised ,whenever I tried dropping the Singers onto Venue & Slot intersection they kept becoming container, then I realised the grave error I’d setup my venues & slots as notes & not adornments :stuck_out_tongue:
  • In slots , we did $Ypos=-3 , I didn’t understand this part , care to elaborate ?
  • Along the way I discovered display expression which I allowed me to auto name my venues & slots by the value provided
  • I also discovered if your note has no content (or subtitle or shop rectangle), it’s title will be in center in map view

Thanks for the recognition on this point. Ya, it took me a while.

I added at least 30+ minutes to my effort with a silly mistake. When I created the $Slot attribute I forgot to make it a number, rather I left it as a string. So every time I’d apply the positioning calculation it would shoot off a gazillion miles to the right. I was multiplying a number against a string. As soon as I made $Slot a number it worked. In my experience with Tinderbox, 99% of the time Tinderbox is doing exactly what you’re telling it to do; the chore is to figure out what that is. :slight_smile:

The other challenge I faced was with the display table. At first, the table would not show up. Hours later, with the help of Mark, “we” figured out that it was due to zooming. If you’re zoomed far out so that you can see the whole venue/slot grid then the display table is not visible. If you zoom in then it becomes visible.

Lastly, I could not figure out the time calculations in Mark’s example until I “rightly” guessed that they were arbitrary. It did not make sense to me that someone in slot one would be on for 10 min (slot (1)*10) and someone in slot 6 would be on for 6o (slot (6) *10). I asked and he confirmed that this was just an arbitrary pick. So, in my example I used a different method so there would be consistent time appears in each slot.

Oh, and I made the adornment vs. note error a few times too. :wink:

Sure. In a typical cartesian map X to the right is positive and Y going up is positive. X to the left is negative and Y going down is negative. The polarity of Ypos in Tinderbox I reversed to negative up and positive down. To the best of my understanding, this is a mental construct used in Tinderbox due to the fact that we read (a least in the West) from top left to right and down, so positive is down and negative is up. In this case, -3 means go up -3 units from the zero axis of Y.

As a side note, if you’re in standard view one unit is equal to 64 pixels, so -3 is saying go up 192 pixels from the zero (0) axis of Y (I think this I generally correct; if not actually correct; close enough). You can check this out: Map Coordinates.

Does his help?

1 Like

Michael, thanks for this great video. I watches it again as I move into course planning mode. And my question is: can I get all the OnAdd goodness you demonstrate in the second half of the video (with the many separate adornments) also from one grid adornment as you use it in the first part?
There are the $GridRows and $GridColumns attributes, but when I set up an OnAdd action - say $Week=$GridColumns(adornment); - and pull a note into a box in the adornment, I find that $Week will give me the number of columns the adornment has (12 in my case), but not the specific column that I pulled in onto.
Any idea what I am doing wrong - or is it simply not possible? It would seem so much easier to use the grid than setting up the many adornments you used in the second half of the video…
Thanks for any insights that you can share on this?

:slight_smile: You’re not doing anything wrong. The grid does not support what you’re trying to do.

Think about it from Tinderbox’s perspective, given the infinite scale of the map it would take a ton of processing as you zoom in and out on a map for Tinderbox to accurately calculate the edges of each grid square. And then, even if you could do that, how would you then tell Tinderbox what you wanted each grid to represent? Would it need to support complex action code for each grid? While I’m not a developer, I suspect that the overhead of all of this would simply cost too much to support the use case, especially given that there is a perfectly viable option that is fine-tuned for this exact purpose, i.e. adornments. Once you get the hang of copying and pasting adornments it is pretty straightforward. And, once you’ve set it up you don’t need to touch it again.

1 Like

Thanks for the quick reply! I‘ll set one up and save it for re-use, since course planning is a repeating task for me…

1 Like

Once you’re done, let’s do an interview for the YouTube channel.

Happy to, but that‘ll probably be best once I‘ve a) found my feet and b) gone through the thing once, i.e. in the summer.

1 Like

Thank you for a really helpful video. Picking up attributes from adornments is something I had never thought about. There is a lot more in the video too, of course, but I have not yet internalized what it all does.

It makes me think that seeing worked examples is crucial to understanding TB.

2 Likes