Grasshopper

algorithmic modeling for Rhino

Hi I have been using a perfect single line font for laser engraving so far.

I updated Rhino from 5.3 to 5.8.

I dont know if this is the reason, but the VB script does not function anymore.

See attached image. The script retunrs with null.

Unfortunatelly I am an architect and I am not familiar with VB scripting, so I dont know how to fix an "old" vb script...

Can someone help me?

Views: 474

Attachments:

Replies to This Discussion

Hi Balazs,

right at the top of the script (double click to see the code), replace this line:

Dim local_font As New Font(font, size)

with this line:

Dim local_font As New System.Drawing.Font(font, size)

It seems we added a type to the Rhino SDK which was also called Font and the script could no longer work out which 'Font' was meant.

--

David Rutten

david@mcneel.com

Hi David,

Thank you very much! It was great help for me!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service