start for pyautocad

Getting started

Installation

If you have pip or easy_install, you can just:

pip install --upgrade pyautocad

or:

easy_install -U pyautocad

Also, you can download Windows installer from PyPI pyautocad page.

Requirements

Retrieving AutoCAD ActiveX documentation

A copy of the AutoCAD ActiveX guide and reference can be found in the help directory of your AutoCAD install.

  • acad_aag.chm - ActiveX and VBA Developer’s Guide
  • acadauto.chm - ActiveX and VBA Reference

Reference can also be found in C:\Program Files\Common Files\Autodesk Shared\acadauto.chm

What’s next?

Read the Usage section, or look for real applications in examples folder of source distribution.

Note

Applications in examples are Russian engineering specific, but anyway I hope you’ll find something interesting in that code.

For more info on features see API documentation and sources

---------------------------------------------------------------------------------------------------------------------------------------------------------------------

译文如下:

开始

安装

如果你有pip或easy_install,你可以:

pyautocad pip安装,升级

或者:

easy_install - u pyautocad

另外,您可以从PyPI pyautocad页面下载Windows安装程序。

需求

comtypes

请注意

如果您正在使用pip或easy_install,那么它将被自动安装。否则,您应该手动安装comtypes包。

可选:xlrd和tablib用于处理表

检索AutoCAD ActiveX文档

AutoCAD ActiveX指南和参考的副本可以在AutoCAD安装的帮助目录中找到。

acad_aag。chm - ActiveX和VBA开发者指南

acadauto。chm - ActiveX和VBA引用

引用也可以发现在\ Autodesk共享\ acadauto.chm C:\Program Files\Common文件

接下来是什么?

阅读用法部分,或者在源发行版的example文件夹中查找真正的应用程序。

请注意

示例中的应用程序是特定于俄罗斯工程的,但无论如何,我希望您能从中发现一些有趣的东西。

有关特性的更多信息,请参阅API文档和源代码

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值