InstanceDefinitionInUse Method |
Determines whether the instance definition is referenced.
Namespace:
Rhino.DocObjects
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public bool InUse(
int wheretoLook
)
Public Function InUse (
wheretoLook As Integer
) As Boolean
Parameters
- wheretoLook
- Type: SystemInt32
0 = check for top level references in active document.
1 = check for top level and nested references in active document.
2 = check for references in other instance definitions.
Return Value
Type:
Booleantrue if the instance definition is used; otherwise false.
See Also