I’m attempting my second live component - to create a theatre flat of one of a predefined set of choices for each dimension.
Our local amateur theatre has a wide range of flats, commonly one of about half a dozen heights (14ft, 10ft, 8ft, 7ft 6in, 7ft or 6ft), different widths (6ft, 5ft, 4ft, 3ft, 2ft 6in, 2ft or 1ft 6in) and two thicknesses (1in or 2in). (Our flats and other standard scenery is so old it predates metrication in Britain!)
I want to create a live component to draw a flat allowing each dimension of size to be picked from a list of available sizes, and create a box of the specified dimensions.
As a bonus, I’d like to add the ability to input a non-standard dimension that isn’t in the list, but could live without that.
I’ve fallen over at the first hurdle - how to connect a choice node to a box to specify its height, width and depth (z, x and y dimensions).
I thought I should be able to connect a choice node to a number list node, using a display value of the choice of dimensions, using the index output of the choice node to pick one of the number list entries and output the value of that entry (the dimension in inches).
But I can’t see how to make the connection.
I click on the input button of the number list node, and fill in the float list items with my six choices of height for the flat, in inches.
When I try to connect the value output of the choice node (the index of the chosen item from the list) to the number list, the only choices I am offered are these:
I’ve tried connecting the choice/value output to each of these in turn, and inspected the output of the *number list".
None of the connections work to drive the output, and indeed all I see in the output is
<float list> whatever connection I make, and whichever choice value I pick.
Try again with a set number list item node, whose title seems to suggest it would pick one output given an index input.
And find that you can still only have four items in the
<float list>. A bug that’s been very recently fixed in the •number list* hasn’t been fixed in this node.
So I’m stuck again at an early stage in developing my second Live Component.
I’ve looked through all the old and new entries in the Training dialogues in Creator, in all three tabs - Intro, Patterns, and Builds, and haven’t seen an example that does what I want to do. Have I missed it?
Or what am I misunderstanding in my efforts to achieve what (it seems to me) should be very simple? Choose one numeric value from a list to drive one dimension of some geometry.