Coding with C# in AutoCAD LT

Coding with C# in AutoCAD LT

imrantheman12
Participant Participant
2,812 Views
10 Replies
Message 1 of 11

Coding with C# in AutoCAD LT

imrantheman12
Participant
Participant

Hello, I was wondering if it was possible to code in AutoCAD LT. I am using Microsoft Visual Studios with .NET and C#, but I am having trouble finding the libraries to reference to (the .dll files) and I was just wondering if it is even possible to code and run it on the LT version.

0 Likes
Accepted solutions (1)
2,813 Views
10 Replies
Replies (10)
Message 2 of 11

cadffm
Consultant
Consultant
Accepted solution

No API-Coding within LT is not possible with any language.

(send strings to controle non-dialog window based commands is the maximum what is possible)

 

Programming? That's for AutoCAD and Toolsets, not for LT

Sebastian

0 Likes
Message 3 of 11

imrantheman12
Participant
Participant

Thank you.

0 Likes
Message 4 of 11

imrantheman12
Participant
Participant

Thank you!

0 Likes
Message 5 of 11

imrantheman12
Participant
Participant

.

0 Likes
Message 6 of 11

cadffm
Consultant
Consultant

???

 


@cadffm  schrieb:

No API-Coding within LT is not possible with any language.

(send strings to controle non-dialog window based commands is the maximum what is possible)

 

Programming? That's for AutoCAD and Toolsets, not for LT


 

Sebastian

0 Likes
Message 7 of 11

pendean
Community Legend
Community Legend
@imrantheman12 Same answer applies from above too. No API Coding is possible, no Express Tools in LT, no add-ons in LT to do what you want with an outside tool.

Core LT command for attribute updates from Excel is ATTEXT, usage is explained in HELP.
0 Likes
Message 8 of 11

anuroop-t
Participant
Participant

Yes, of course, it is possible to handle the dxf file using c#.

You need to dig it.

in visual studio download the NuGet package "netDxf" it has all properties of objects from dxf files.

go through the following link

https://github.com/haplokuon/netDxf/blob/master/TestDxfDocument/Program.cs

 

Thanks, me later... 

 

 

 

0 Likes
Message 9 of 11

h_s_walker
Mentor
Mentor

It is not possible in LT. LT does not use addins

Howard Walker
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


Left Handed and Proud

0 Likes
Message 10 of 11

cadffm
Consultant
Consultant

@h_s_walker He didn't say that, he just shows a way to edit DXF files without AutoCAD(LT).
That's an answer to a question that wasn't asked here, but it's still a bit on topic.

Sebastian

Message 11 of 11

anuroop-t
Participant
Participant

in the end, we want to develop an automation tool that is useful to edit or create dxf files.

and netDXF libraries are very useful.  

0 Likes