1

嗨朋友们,

         I have some trouble while copy the entities using Ctrl+C in autocad. While i press ctrl + C it just copy to clipboard in autocad and it's take base point as 0,0,0.But i need to copy the entities with our specified  base point. Is there any other way to do this.
4

2 回答 2

4

您应该改用 _COPYBASE 命令(Ctrl-Shift-C 是默认热键)。

于 2013-05-10T03:18:40.920 回答
2

通过 C# 使用Autodesk.Autocad.Interop.Common参考:

double[] BasePoint = new double[] { 0, 0, 0}; //or any point you like
double[] DesiredPoint = new double[] { 45,234,2345} ;//or any point you like

IAcadEntity Ent = AGivenEntity.Copy();
Ent.Move(BasePoint, DesiredPoint);
于 2013-05-09T21:34:49.917 回答