A few things are wrong…
Your example code includes some ‘smart-quotes’ - these are not allowed in Ruby.
Use " or ’ instead around the string…
The set_attribute arguments must not include then either - so again, use " or ’
It works fine as a ‘date’ attribute when I correct your code…
Adjust your MAC’s setting to not use smart-quotes in Ruby scripts…
I’m trying to import a schedule from Microsoft Project. Then assign a task from the schedule to every element in the model. That lets me attach the start and finish dates too.
With that data I can see the elements between two dates, making an animation of the building process or checking the elements that are built in a certain moment.
I only need days and generally my projects are built in less than 2 years.