朋友们,
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.
答案 0 :(得分:4)
您应该使用_COPYBASE命令(Ctrl-Shift-C是默认的热键)。
答案 1 :(得分:2)
使用Autodesk.Autocad.Interop.Common
引用通过C#:
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);