Solid Edge Framework Type Library
ReplaceReference Method
Specifies the name of the reference that is being replaced.
Specifies the name of the reference with which the FromReference is replaced in documents that contain a link to the FromReference. If not specified, the value is obtained interactively.
Specifies the names of directories in which to search for documents that contain fromReference. If not specified, the value is obtained interactively.
Specifies whether or not the directories are recursively traversed. If not specified, the value is assumed to be False.
Description
Determines the documents with a specified referenced in user-defined directories and replaces those references with the new reference.
Syntax
Visual Basic
Public Sub ReplaceReference( _
   Optional ByVal FromReference As Variant, _
   Optional ByVal ToReference As Variant, _
   Optional ByVal Scope As Variant, _
   Optional ByVal Recursive As Variant _
) 
Parameters
FromReference
Specifies the name of the reference that is being replaced.
ToReference
Specifies the name of the reference with which the FromReference is replaced in documents that contain a link to the FromReference. If not specified, the value is obtained interactively.
Scope
Specifies the names of directories in which to search for documents that contain fromReference. If not specified, the value is obtained interactively.
Recursive
Specifies whether or not the directories are recursively traversed. If not specified, the value is assumed to be False.
Remarks
This method displays the Replace dialog box, which allows the user to interactively edit the settings and initiate the search and replace commands.
See Also

Application Object  | Application Members