InstanceDefinitionTable.Modify Method (InstanceDefinition, String, String, Boolean)

InstanceDefinitionTableModify Method (InstanceDefinition, String, String, Boolean)

Modifies the instance definition name and description. Does not change instance definition ID or geometry.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool Modify(
	InstanceDefinition idef,
	string newName,
	string newDescription,
	bool quiet
)
Public Function Modify ( 
	idef As InstanceDefinition,
	newName As String,
	newDescription As String,
	quiet As Boolean
) As Boolean

Parameters

idef
Type: Rhino.DocObjectsInstanceDefinition
The instance definition to be modified.
newName
Type: SystemString
The new name.
newDescription
Type: SystemString
The new description string.
quiet
Type: SystemBoolean
If true, information message boxes pop up when illegal changes are attempted.

Return Value

Type: Boolean
true if successful.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also