IsDimStyleReference

Verifies that an existing dimension style is from a reference file.

Syntax

rhinoscriptsyntax.IsDimStyleReference (dimstyle)

rhinoscript.dimension.IsDimStyleReference (dimstyle)

Parameters

dimstyle

Required.  String.  The name of an existing dimension style.

Returns

True

If successful.

False

If not successful.

None

On error.

Example

import rhinoscriptsyntax as rs

dimstyle = rs.GetString("Dimension style to test")

if rs.IsDimStyle(dimstyle):

    if rs.IsDimStyleReference(dimstyle):

        print "The dimension style is from a reference file."

    else:

        print "The dimension style is not from a reference file."

else:

    print "The dimension style does not exist."

Also See

IsDimStyle