Touch and go

So let’s play a little game of Touch and Go – the client request this time was to create a Dynamo script that would do the following:

  • Allow selecting elements of various categories
  • Get all available quantities out of the elements
  • Display sums of quantities

Well here is the script:

Capture.png

Link to script here

So what it does is that it will prompt you to select elements in your model:Capture

And the result you get displayed in a Windows form:

Capture

Nothing too fancy but getting to the Windows form display is in a way a noble idea because it is just a few lines of Python – see here:

Capture

This is the code behind it

Capture

Simple – but elegant – and life again is good…

Advertisements

About LRCZ

Platform for multiple talents
This entry was posted in Uncategorized. Bookmark the permalink.

1 Response to Touch and go

  1. Pingback: Weekly Roundup – 2019.09 – The BIMsider

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