Verifies that an object's attributes contains RhinoScript user data.
Rhino.IsAttributeData (strObject)
strObject |
Required. String. The object's identifier. |
Boolean |
True or False indicating whether or not the object's attributes contains any RhinoScript user data if successful. |
Null |
If not successful, or on error. |
Dim strObject, blnResult
strObject = Rhino.GetObject("Select object")
If Not IsNull(strObject) Then
blnResult = Rhino.IsAttributeData (strObject)
If blnResult = True Then
Rhino.Print "This object's attributes contains RhinoScript user data"
Else
Rhino.Print "This object's attributes contains no RhinoScript user data"
End If
End If