为什么这几句话在我的机器上编译通不过??
pt2.X = pt1.X + x;
pt2.Y = pt1.Y + y;
pt2.Z = pt1.Z;
报错信息为:
error CS0200: Property or indexer 'Autodesk.AutoCAD.Geometry.Point3d.X' cannot be assigned to -- it is read only
error CS0200: Property or indexer 'Autodesk.AutoCAD.Geometry.Point3d.Y' cannot be assigned to -- it is read only
error CS0200: Property or indexer 'Autodesk.AutoCAD.Geometry.Point3d.Z' cannot be assigned to -- it is read only
CommandLinePrompts.Message("\n所输入的参数无法创建图形!");
报错信息为:
error CS0246: The type or namespace name 'CommandLinePrompts' could not be found (are you missing a using directive or an assembly reference?)