如何使用命令行向AutoCAD图添加点

发布于 2025-01-30 00:47:16 字数 361 浏览 2 评论 0原文

我在GIS领域工作,并且正在使用具有相关信息的轮廓,点高度和其他数据集。

在GIS软件(例如QGI)中,我可以提取线,多边形或一组点的几何属性。因此,我还可以通过Python脚本写入文本文件的一组点及其几何属性。

有一个人不使用QGIS,并且特别不知道基于GIS的技术。因此,我使用QGIS生成的文件对他来说是完全没有用的。此外,他还使用基于MAC OS的计算机工作,因此,基于GIS的AutoCAD也无法使用。

因此,我如何与他们的坐标或多边形一起通过命令行提供一组点数。例如,我们有一个命令或一组命令

SET ORIGIN TO 50000,5000 
ADD POINT 51000, 51000 

... 

I work in the field of GIS and I am working with contours, point heights and other datasets which have elevation related information.

In a GIS software (for example QGIS), I can extract the geometry attributes of a line, polygon or a set of points. Consequently, I can also write the set of points and their geometrical attributes to a text file through Python scripting.

There a person who does not use QGIS and is specifically unaware of GIS based techniques. Consequently, the files that I generate using QGIS are completely useless to him. Further, he also works on a Mac OS based computer and therefore the GIS based Autocad is also not available with him.

Therefore, the question how can I provide a set of points with their coordinates, or a polygon with points to AutoCAD via a command line. For example, do we have a command or set of commands like

SET ORIGIN TO 50000,5000 
ADD POINT 51000, 51000 

... 

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

献世佛 2025-02-06 00:47:16

在AutoCAD中,他可以使用命令脚本
您调解.scr文本文件。

Example file with coordinates You can find

In AutoCAD he may use command SCRIPT.
You crerate .scr text file.

Example file with coordinates You can find here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文