REDIR command (Express Tools)

Redefines hard-coded paths in external references, images, shapes, styles and rtexts.

BricsCAD Lite; BricsCAD Pro; BricsCAD Mechanical; BricsCAD BIM

Icon:

Description

Redefines hard-coded paths for the following entities attached to the current drawing:
  • external references
  • images
  • shapes
  • rtexts
Note: Rtext entities in xrefs, rtext entities in block definitions, and images in Xrefs are not modified by the REDIR command.

Method

  1. Enter the old directory.
    Note: Type * to redefine all.
  2. Specify the new directory.
Note: In essence, the REDIR command is a search and replace command for paths.

Example:

: REDIR

Current REDIR mode:  Styles, Xrefs, Images, Rtext
Find and replace folder names
Enter old folder, or '*' for all, or '?' to list references, or <Options>: D:\test\path1
Replace 'D:\test\path1' with: D:\test\path2

Searching for old folder: <D:\test\path1>
to be replaced with: <D:\test\path2>
Can not find font file: arial.ttf
SHAPE                                         D:\test\path1\shape.SHX -> D:\test\path2\shape.SHX
Can not find shape file: arial.ttf
Can not find shape file: arial.ttf
XREF                   xref                   D:\test\path1\xref.dwg ->  D:\test\path2\xref.dwg
xref name: "xref"
Old path: D:\test\path1\xref.dwg
Reload xref "xref": D:\test\path2\xref.dwg
1 reference updated.
Searching for nested images ...\done.
IMAGE                  image                  D:\test\path1\image.jpg ->  D:\test\path2\image.jpg
Searching for RTEXT entities ... 
RTEXT                                         D:\test\path1\txt.txt ->  D:\test\path2\txt.txt 
1 style/shape record(s) modified.
1 image(s) modified.
1 xref(s) modified.
1 rtext(s) modified.
Changes for some XREF entities are temporary.

Options within the command

Options
Opens the REDIR Settings dialog box that allows you to select which element types you want to replace the directories from.