DSLM-Chapter Five Translation-Colors

Hi Everyone:

This is the fifth chapter of the DesignScript Language Manual entitled Colors on page 21. Here is the link to the translation from code to node that was posted on the Autodesk DesignScript Community Forum. Since that time a better understanding of color Nodes has been explored through the Sample files from the DSE, as well as the DSLM.

Here is the graph node code canvas that was previously posted.

Chapter#5-Color

Chapter#5-Color

After further exploration the translation was altered to show the further capabilities in DSS.

Chapter#5-Color-a

Chapter#5-Color-a

Accessibility to the Graph nodes can be made through the Library and on the Nodes  context menu as shown below.

library color access

library color access

And another view of the Nodes context menu is shown below.

color get set

color get set

The Color Nodes property “Color(get)”  function has been explored and it’s use is highlighted below,  but the Color(set)  hasn’t been understood. Maybe someone can show us how it is used?

getColor

getColor

Shown below is what the translation of the Color Nodes looks like when turned back into script.

2014_02_08_Chapter#5-Color-b

Chapter#5-Color-b

And rather non-descript for the use of color, nonetheless, this is what the windows graphic that is generated looks like.

Chapter#5-Color-Windows Graphic

Chapter#5-Color-Windows Graphic

The files are available for downloading from the DROP-BOX links below.

Chapter#5-Color

Chapter#5-Color-a

Chapter#5-Color-b

Thanks for looking.

T!M

 

Advertisements

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 )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s