Coding with Python3

Coding with Python3

Tony_Gibbs
Advocate Advocate
836 Views
3 Replies
Message 1 of 4

Coding with Python3

Tony_Gibbs
Advocate
Advocate

Is there anybody who can help with providing links to information about programming in Autocad using Python.

I think it is Iron Python I need to use.

Thanks 

0 Likes
837 Views
3 Replies
Replies (3)
Message 2 of 4

johnjmbennett
Mentor
Mentor

not an expert on programming, but think the 

Closest for this if I’m advance steel would by the Dynamo extension and commands.


https://knowledge.autodesk.com/support/advance-steel/learn-explore/caas/CloudHelp/cloudhelp/2022/ENU...

 

 

 

John Bennett
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 3 of 4

_gile
Consultant
Consultant

Hi,

You can access to the AutoCAD COM/ActiveX API with pyautocad.

To access to the .NET API, you have to use IronPython but it seems to be not so trivial (see this topic).



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes
Message 4 of 4

gleeuwdrent
Advocate
Advocate

If you are Civil3D user, you can also use CivilConnection: https://github.com/Autodesk/civilconnection. This enables both AutoCAD and Civil3D API for Python use.

0 Likes