InstanceDefinitionTableModifySourceArchive Method (Int32, String, InstanceDefinitionUpdateType, Boolean) |
If the instance definition is linked or embedded, use SetSource to
specify the source archive.
Namespace:
Rhino.DocObjects.Tables
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic bool ModifySourceArchive(
int idefIndex,
string sourceArchive,
InstanceDefinitionUpdateType updateType,
bool quiet
)
Public Function ModifySourceArchive (
idefIndex As Integer,
sourceArchive As String,
updateType As InstanceDefinitionUpdateType,
quiet As Boolean
) As Boolean
Parameters
- idefIndex
- Type: SystemInt32
The index of the instance definition to be modified. - sourceArchive
- Type: SystemString
The new source archive file name. - updateType
- Type: Rhino.DocObjectsInstanceDefinitionUpdateType
[Missing <param name="updateType"/> documentation for "M:Rhino.DocObjects.Tables.InstanceDefinitionTable.ModifySourceArchive(System.Int32,System.String,Rhino.DocObjects.InstanceDefinitionUpdateType,System.Boolean)"]
- quiet
- Type: SystemBoolean
If true, then message boxes about erroneous parameters will not be shown.
Return Value
Type:
Boolean
Returns true if the definition was successfully modified otherwise returns false.
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Obsolete (compiler warning) in 6.8
See Also