Bath export to OBJ and material length dialog box

Hi all,

in a VB script, I do a batch export into OBJ format.
For each created file I get an error dialog box warning about too long material names, but output OBJ files are ok.

I’m wondering if there is a way to get rid of this dialog box ?

Best regards,
Frédéric.

@tim, is this something you can help with?

Hi Frédéric,

Can you show me the exact dialog you’re seeing? What version of Rhino are you using? I looked through the version 5 source and did not see anything specifically pertaining to material naming. I did see something about wrapping long lines when a single string was long (it’s not clear to me how long, looks like 65 characters). It also looks like you might be able to prevent that dialog from appearing by preemptively setting the line wrapping option to true.

Tim