BHoM / RAM_Toolkit

GNU Lesser General Public License v3.0
5 stars 0 forks source link

RAM_Adapter: handling paths wrong #147

Closed JosefTaylor closed 4 years ago

JosefTaylor commented 4 years ago

Description:

supplying a valid windows path to an empty RAM file can lead to the adapter throwing an invalid path error (it then displays a path with a weird mix of \ and // to a different location that was specified), then crashing Rhino.

Steps to reproduce:

Supply a path copied from an explorer window, such as "C:\Users\jtaylor\BuroHappold\Buildings and Habitats object Model - Scripts\BuroHappold_BHoM_v3.2\0018_RAM_Toolkit\0 Create Elements.rss" with the quotes, and it will crash. If the quotation marks are not included, it doesn't crash.

Expected behaviour:

Test file(s):