v6.0
Sets all paths of external references used by a given target.
The paths to feed into this command are a comma delimited string of
all the paths used.
Note: UpdateExternalReference does not work for expressions, please use
EditExpr to update expressions.
oString = UpdateExternalReference( Target, InputObjs ); |
Parameter | Type | Description |
---|---|---|
Target | String |
Parameter value to retrieve. Default Value: |
InputObjs | String | Paths to set. |
/* Demonstrates how to use UpdateExternalReference to update all external reference paths */ var coll = GetExternalReferences(); for ( var i=0; i<coll.Count; i++ ) { var paths = InspectExternalReference( coll(i) ); paths = paths.replace( "ModelA", "ModelB" ); UpdateExternalReference( coll(i), paths ); } |