页面树结构
转至元数据结尾
转至元数据起始

重新定义外部引用、图像、形状、样式和正文中的硬编码路径。

图标:

描述

重新定义了当前图纸上附加的以下实体的硬编码路径:

  • 外部参考资料
  • 图像
  • 形状
  • rtexts


注意:xref中的rtext实体、块定义中的rtext实体以及Xref中的图像不会被REDIR命令修改。


方法

  1. 进入旧目录。
    注意:输入*以重新定义所有。
  2. 指定新的目录。


注意:本质上,REDIR 命令是路径的搜索和替换命令。

示例

: 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.

指挥部内的选项


选项

打开REDIR设置对话框,允许你选择想替换目录的元素类型。

  • 无标签