复制对象
 
 

You can create a copy of most nongraphical and graphical objects in a database. You create a copy of an object with the Clone function. Once an object is cloned, you can modify the returned object before it is added to the database. You can mimic many of the modifying commands in AutoCAD through the use of the Clone and TransformBy methods. For more information about the TransformBy method, see Transform Objects.

用户可以创建数据中大部分的非图形和图形对象的副本。用户创建对象的副本使用 Clone 函数。一旦对象被复制,就可以在将返回的对象添加到数据库之前修改它。通过 Clone 和 TransformBy 方法的使用,用户可以模仿许多 AutoCAD 中的修改命令。更多关于 TransformBy 方法的详细信息,请参见 转换对象

Along with creating a direct copy of an object, you can also use the Clone and TransformBy methods to offset, mirror and array objects. For more information about copying objects, see “Copy, Offset, or Mirror Objects” in the AutoCAD User's Guide.

与直接创建一个的对象的副本一起,用户也可以使用 Clone 和 TransformBy 方法偏移、镜像和阵列对象。更多关于复制对象的详细信息,请参见《AutoCAD 用户手册》中的“复制、偏移与镜像对象”部分的内容。