Click or drag to resize

InstanceDefinitionTableUpdateLinkedInstanceDefinition Method

Read the objects from a file and use them as the instance's definition geometry.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.9
Syntax
public bool UpdateLinkedInstanceDefinition(
	int idefIndex,
	string filename,
	bool updateNestedLinks,
	bool quiet
)

Parameters

idefIndex
Type: SystemInt32
zero based index of instance definition to delete. This must be in the range 0 <= idefIndex < InstanceDefinitionTable.Count.
filename
Type: SystemString
name of file (can be any type of file that Rhino or a plug-in can read)
updateNestedLinks
Type: SystemBoolean
If true and the instance definition references to a linked instance definition, that needs to be updated, then the nested definition is also updated. If false, nested updates are skipped.
quiet
Type: SystemBoolean

[Missing <param name="quiet"/> documentation for "M:Rhino.DocObjects.Tables.InstanceDefinitionTable.UpdateLinkedInstanceDefinition(System.Int32,System.String,System.Boolean,System.Boolean)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Rhino.DocObjects.Tables.InstanceDefinitionTable.UpdateLinkedInstanceDefinition(System.Int32,System.String,System.Boolean,System.Boolean)"]

See Also