GH_ActiveObject.DependsOn Method

GH_ActiveObjectDependsOn Method

Returns a boolean indicating whether or not the current object somehow inherits from the PotenialSource object

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public abstract bool DependsOn(
	IGH_ActiveObject PotentialSource
)
Public MustOverride Function DependsOn ( 
	PotentialSource As IGH_ActiveObject
) As Boolean

Parameters

PotentialSource
Type: Grasshopper.KernelIGH_ActiveObject

Return Value

Type: Boolean

Implements

IGH_ActiveObjectDependsOn(IGH_ActiveObject)
See Also