Un-tag an Object as a Flamingo Plant
Windows only
Demonstrates how to un-tag an object as a Flamingo nXt plant using RhinoScript.
Option Explicit
Call Main()
Sub Main()
Dim objPlugIn, strObject, plant
On Error Resume Next
Set objPlugIn = Rhino.GetPluginObject("8008880f-8d13-4b2d-92b0-727e12878a4c")
If Err Then
MsgBox Err.Description
Exit Sub
End If
strObject = Rhino.GetObject("Select object")
If Not IsNull(strObject) And Not strObject = "" Then
If objPlugIn.UnTagObjectAsPlant(strObject) Then
Rhino.Print("Plant tags removed from object")
End If
End If
Set objPlugIn = Nothing
End Sub