The Day of Creation

Another silly title – a novel by my favorite writer J.G.Ballard

Anyways – there is an annoying behavior in Dynamo – at least for me – you create stuff in one run of the graph.

Noname

Then you run the graph again to create some more stuff. The stuff created before gets deleted.

Noname

Note: Please Dynamo team – give us a toggle so that we don’t have to constantly work around this issue.

The graph to the above is here:

Noname.png

Now – how do we make that stuff stick? It’s especially tricky with annotation objects. When experimenting with we found out that pinning the dimension line would save her from deletion. So – after some searching – we found Element.SetPinnnedStatus from the Rhythm package.

Noname

Result:

work-frustration

(Image source: http://www.care2.com/greenliving/patience-at-work.html/work-frustration)

Sure, we pinned with Dynamo so it is clever enough to undo all and just redo the dimension line.

The remedy: a little Python script added to that:

Capture

The code of the script is super easy – it basically transforms elements to Design Script Type elements. And then they stick.

Noname

Don’t ask me why it works – but it works

Noname

Life is good…

Advertisements

About LRCZ

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

One Response to The Day of Creation

  1. Pingback: Weekly Roundup – 2017.20 – 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