- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Can .NET code (aimed at creating new geometry) be executed in AutoCAD by simply typing F5 in Visual Studio?
Or do you always have to link your code to some "new AutoCAD command" or some "new Windows form" to get it running? Simply typing F5 for testing purposes would avoid the NETLOAD dll-loading and unloading processes.
There is a VBA-sample in "Program Files\Autodesk\AutoCAD 20xx\Sample\VBA\drawline.dvb" where you can draw a line in model space (more or less) directly. Although I don't know if the UserForm and its CommandButton are mandatory in that sample?
Solved! Go to Solution.