Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 4152

R7: rs.IsLinetype() returns True no matter what

$
0
0

Hi @dale I see that rs.IsLinetype() returns true on all inputs. Can you please check it out?

Even the example for the command returns “The linetype exists” on all inputs.

import rhinoscriptsyntax as rs
name = rs.GetString("Linetype name")
if rs.IsLinetype(name): print "The linetype exists."
else: print "The linetype does not exist"

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4152

Trending Articles