Whats in a name?

In the last post we showed how to create a line for every line style in the project. Now let’s push this a bit further – goal is to create a drafting view, create the lines for each line style and label them.

The graph looks like this:



And it will create this:


Here are the parts – getting the line styles


Creating the view and a detail line in it


Copying the lines


Assigning the styles – note that for whatever reason we cannot use the built in parameter name – so you need to change the name when running on a non English platform


Creating the labels – since we can’t use real labels on lines the trick was to create text and place it at the endpoint of the line. And in this case we concatenated the list into one string using \n to create the line feeds.


Last step – remove the original line when all is done


Could be handy if you want to document what is in your project…



About LRCZ

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

2 Responses to Whats in a name?

  1. Pingback: Weekly Roundup – 2016.51 | The BIMsider

  2. Jean-Marc Couffin says:

    hi, nice work,
    are you using dynamo 1.2, I can’t get it to work for some reason, it does not copy by vector.


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