|
For English speaking visitors: I am currently
working on an English site with the same content. It is located at
http://thecadprogcp.blogspot.com/.
It's not yet totally complete but you are encouraged to check it out already. Thanks.
Falls Sie einen Vorschlag für einen
zusätzlichen Link haben - insbesondere Vorschläge für AutoCAD .NET-Bücher, dann
bitte ich Sie, mich diesbezüglich anzumailen (Link-Vorschlag).
Vielen Dank!
Neues auf dieser Seite:
20. Feb. 2012: |
Vorwort
und Teile des 2. Abschnittes überarbeitet |
|
30. Nov. 2010: |
Ein neuer Link unter "AutoCAD .NET-Tutorials":
http://howtoautocad.com/introduction-to-vb-net-in-autocad |
|
11. Aug. 2009: |
Ein neuer Link unter "AutoCAD .NET-Tutorials":
http://au.autodesk.com/...filter_keywords=.NET... |
|
28. Juli 2009: |
Ein neuer Link unter "AutoCAD .NET-Tutorials":
http://docs.autodesk.com/...AutoCAD .NET Developer's Guide |
|
20. Juni 2009: |
Ein neuer Link unter
"Fortgeschrittenere Themen / Sonstiges":
Registering AutoCAD commands with localized names using .NET |
|
19. Juni 2009: |
Ein neuer Link unter
"Grundlegende Themen / Wizards und Code Snippets":
A new project wizard for AutoCAD .NET development |
|
02. Juni 2009: |
Im Bereich "Blogs"
wurde eine SUCHMASKE eingefügt, mit der sich alle angegebenen Blogs auf einmal
durchsuchen lassen. Zugleich wurden 3 Links zu weiteren Blogs eingefügt. |
|
30. Mai 2009: |
Im Vorwort wurde der Link
Convert C# to VB.NET code eingefügt.
Im Unterbereich
".NET-Beiträge / Grundlegende Themen" wurden die
Links
VB 2005 and code snippets und
Surround With in VB.NET 2005 (Code Snippet Picker) eingefügt.
Im Unterbereich
".NET-Beiträge / Fortgeschrittenere Themen"
wurde der Bereich
"Windows Registry" eingefügt.
Im Unterbereich
".NET-Beiträge / Fortgeschrittenere Themen"
wurden die Links
Lambda expressions and mapcar with VB.NET in VS 2008,
Using the registry or an INI file to save and retrieve information,
HKEY_CLASSES_ROOT (HKCR) key description,
TreeTrim for Visual Studio project cleanup,
DotNetBar for Windows Forms 7.8,
ObjectDBX/RealDWG using VB.NET,
How to connect to ObjectDBX in VB.net und
Launch AutoCAD 2004 from VB.NET eingefügt. |
|
29. Mai 2009: |
Im Unterbereich
"Fortgeschrittenere Themen / Sonstiges" wurde der Link
Creating demand-loading entries automatically for your AutoCAD application using
.NET
eingefügt.
Im Unterbereich "F# (eine "funktionale" .NET-Sprache)
/ Sonstiges"
wurden Links zu den Teilen III bis VI von "Manipulating Polylines In AutoCAD
With F#" eingefügt. |
|
25. Mai 2009: |
Im Unterbereich
"Fortgeschrittenere Themen / .NET und COM" wurde der Link
Interfacing an external COM application with a .NET module in-process to AutoCAD
(redux)
eingefügt.
Die Planung des Bereichs "AutoCAD .NET-Code und -Tools" wurde mangels im
Internet frei verfügbarer Tools aufgegeben. Die meisten solcher Tools sind in
AutoLISP geschrieben. Sollten vereinzelte Tools in VB, C#, F# oder managed C++
gefunden werden, bei denen auch der Code offen liegt, werden diese
voraussichtlich im Bereich "AutoCAD .NET-Beiträge" eingefügt werden. |
|
22. Mai 2009: |
Der Unterbereich "Grundlegende Themen /
Sonstiges" wurde aufgelassen. Der Inhalt wurde in folgende Links aufgegliedert
und über die anderen Unterbereiche verteilt:
Various Database examples: CreateLayer,
Various Database examples: CreateCircle,
Various Database examples: InsertBlock,
Single entity selection,
Selection Sets,
Various Database examples: ShowAllLayers,
Adding tabs to the options dialog box,
Creating custom palettes,
Adding buttons to the status bar,
Jigging und
Database event example.
Im Unterbereich
"Grundlegende Themen / Aller erste Grundlagen"
kam der Link
Compatibility of AutoCAD applications between releases dazu.
Der Unterbereich "Fortgeschrittene Themen / Visual
Studio" wurde zusätzlich eingefügt.
Unter "Fortgeschrittene Themen / Jigging" kam der Link
Controlling interactive polyline creation - Part 3 dazu. |
|
20. Mai 2009: |
Im Unterbereich "Grundlegende Themen /
Einzelne grundlegende Code-Beispiele" kam der Link
Passing arguments to .NET-defined commands
dazu.
Der Unterbereich "Fortgeschrittenere Themen" wurde um etliche Artikel-Links
erweitert. Der Aufbau dieses Bereichs ist damit abgeschlossen. Einzelne
zukünftige Ergänzungen und ev. Umstrukturierungen sind aber natürlich nicht
ausgeschlossen.
|
|
19. Mai 2009: |
Der Bereich "Links zu AutoCAD .NET-Foren"
wurde realisiert / eingefügt. Der Aufbau dieses Bereichs ist damit bereits
abgeschlossen. Einzelne zukünftige Ergänzungen sind aber natürlich nicht
ausgeschlossen.
|
|
18. Mai 2009: |
Der Unterbereich "F# (eine Erweiterung
der .NET-Sprachen) wurde umbenannt in "F# (eine "funktionale" .NET-Sprache)".
Außerdem wurde er um etliche Artikel-Links erweitert. Der Aufbau dieses
Unterbereichs ist damit abgeschlossen. Einzelne zukünftige Ergänzungen und ev.
Umstrukturierungen sind aber natürlich nicht ausgeschlossen.
|
|
16. Mai 2009: |
Im Unterbereich "F# (eine "funktionale"
.NET-Sprache)" kam der Artikel-Link
Manipulating Polylines In AutoCAD With F# – Part II dazu. |
|
14. Mai 2009: |
Der Unterbereich "Grundlegende Themen"
wurde strukturell nochmals verfeinert.
Im Unterbereich "Grundlegende Themen -> Lesen / Ändern von
Zeichnungsdatenbank-Objekten kam der Artikel-Link
Working with specific AutoCAD object types in .NET (or: What sort of entity
is it? Line, Circle, ...) dazu.
Der Unterbereich "Fortgeschrittenere Themen" wurde um etliche Artikel-Links
erweitert. Es sind noch einige Artikel-Links in Vorbereitung. Diese sollten
innerhalb der nächsten 2 Wochen online gehen, u.a. mit den Themen "Interaktion
mit dem Benutzer", "Zugriff auf andere Zeichnungen" und "Batch Processing". |
|
13. Mai 2009: |
Der Bereich "Links zu AutoCAD
.NET-Beiträgen" wurde umstrukturiert bzw. die Gliederung verbessert.
Im Unterbereich "F# (eine "funktionale" .NET-Sprache)" kam der Artikel-Link
More F# Adventures: You win some; you lose some
(a try to do simple batch processing with F#) dazu. |
|
Inhaltsverzeichnis:
1) ... Vorwort
2) ... Links zu AutoCAD .NET-Tutorials
3) ... Links zu AutoCAD .NET-Büchern (aus
Papier)
4) ... Links zu AutoCAD .NET-Blogs
5) ... Links zu AutoCAD .NET-Foren
6) ... Links zu AutoCAD .NET-Beiträgen (in Blogs, Foren, etc.)
|
|
|
|
|
|
1) Vorwort:
Der Vereinfachung zuliebe lasse ich im Folgenden das ".NET" hinter VB
und C# weg.
Für die AutoCAD- und Bricscad- .NET-Programmierung ist es
zwingend erforderlich, gut Englisch lesen und verstehen (>>Videos!) zu können.
Weiters sollte man IMHO bereits fähig sein, zumindest die "grundlegendsten
Grundlagen" der PC-Programmierung zu verstehen. Darüber hinaus sollte man Freude
am Programmieren haben und sich zutrauen, mit Programm-Code umzugehen bzw. dies
schnell lernen zu können. (Mehr dazu im Laufe dieses Vorworts.)
In AutoCAD gibt es die .NET-Schnittstelle (in ausgereifter Form) seit Version
2007. In BricsCAD wurde sie kurz
vor Version 12 eingeführt - also noch in Version 11. Die
dadurch zur Verfügung gestellten Funktionalitäten (Klassen und deren
Eigenschaften und Methoden) bauen auf den Funktionalitäten der C++-Schnittstelle
auf (Wrapper). Die BricsCAD-.NET-Schnittstelle orientiert sich dabei wieder sehr genau an
der AutoCAD-.NET-Schnittstelle (wie bei C++ und AutoLISP), sodass für
Programmierer so gut wie keine Anpassung des Codes erforderlich ist. (Stand: 17.
Februar 2012)
Einer der für den Beginner grundlegensten Unterschiede zu VBA
(und für AutoCAD-User auch zu AutoLISP) ist, dass weder in AutoCAD noch in
Bricscad eine Entwicklungs-Umgebung für die .NET-Schnittstelle
integriert ist (die .NET-Schnittstelle selbst schon, aber eben kein Editor). Man
muss daher entweder Visual Studio (Standard Editon) kaufen oder mit den
Visual Studio Express Editionen 2008 oder neuer vorlieb nehmen, die zwar etwas
leistungsschwächer dafür aber gratis sind. Man kann auch mit den
Express-Editionen debuggen. Man muss
die debuggen-Funktion nur entweder extra händisch aktivieren (mehr dazu unter Beiträge /
Grundlegende Themen / Debuggen) oder den neuesten
.NET-Wizard von Autodesk installieren. Wer also keinen
expliziten Grund für die Standard Edition sieht, kann mit ruhigem Gewissen zu
den Express Editionen greifen. Im Netz findet man auch noch die kostenlose
Open-Source-Entwicklungs-Umgebung
SharpDevelop, allerdings wird von Autodesk offiziell Visual Studio
unterstützt (bis zu ACAD 2009 VS 2005 und ab ACAD 2010 VS 2008). So kann man
z.B. die von Autodesk zur Verfügung stehenden VS-Wizards z.B. nicht unter
SharpDevelop installieren. Außerdem sind so gut wie alle im Netz auffindbaren
AutoCAD .NET-Hilfen auf Visual Studio ausgelegt. Daher würde ich dringend zu
Visual Studio (Express Editionen) raten.
Die zwei gebräuchlichsten Sprachen, mit denen AutoCAD über die
.NET-Schnittstelle programmiert wird, sind also VB und C#. Unter
fortgeschritteneren Programmierern wird auch F# immer populärer. [Theoretisch
kann es auch "managed C++" (also C++.NET, obwohl normalerweise ist
es auch bei AutoCAD "unmanaged", also nur C++ ohne .NET) und noch
mehrere andere von .NET unterstützte Sprachen geben.] Hinter den folgenden Links
wird .NET aber oft entweder verallgemeinert / insgesamt behandelt, ohne dass
zwischen VB und C# unterschieden wird, oder es werden Themen mit
Code-Beispielen von nur einer der beiden Sprachen behandelt. Dies ist deshalb
der Fall, da die Schreibweise der rein AutoCAD-spezifischen Code-Teile
(AutoCAD-Klassen, -Methoden, -Eigenschaften, ...) für alle .NET-Sprachen gleich
ist. Daher haben eventuelle Probleme beim Übersetzten von VB in C# (und
umgekehrt) grundsätzlich nichts mit der AutoCAD .NET-Schnittstelle zu tun,
sondern mit den Unterschieden der zwei Sprachen an sich. Grundlagenwissen
über VB.NET und/oder C#.NET und deren unterschiedliche Schreibweisen (bzw.
unterschiedliche Syntax) wird
teilweise ein bisschen mitgeliefert, aber großteils vorausgesetzt
und kann in nicht-AutoCAD-bezogener Literatur nachgelesen werden (für VB.NET
z.B.
hier,
hier,
hier oder
hier - für C#.NET z.B.
hier,
hier,
hier,
hier,
hier oder
hier - und für einen direkten Vergleich von VB.NET zu C#.NET z.B.
hier,
hier
oder
hier - und
hier gibt es noch eine kurze allgemeine .NET-Einführung auf C#-Basis). Es
gibt auch Programme/Websiten, die automatisch von VB.NET nach C#.NET und zurück
übersetzen. Mehr Informationen dazu gibt es in den Blog-Einträgen
Convert C# to VB.NET code und
Converting between C# and VB.NET.
Die erste Anlaufstelle für die .NET-Schnittstelle selbst sollte für Beginner wahrscheinlich das
Autodesk Developer Center
(Bereich AutoCAD) sein. Mehr
Links zu Lern-Ressourcen befinden sich im nächsten Abschnitt "Links zu AutoCAD .NET-Tutorials".
Außerdem stellt Autodesk noch die kostenpflichtige (!) Möglichkeit zur
Verfügung, beim
ADN (Autodesk Developer Network) Mitglied zu werden. Als Mitglied erhält man
dann exklusiv Unterlagen und Unterstützung, was vielleicht auch ein
Mitgrund ist, warum es im Netz relativ wenig frei zugängliche und zugleich
umfassende Information zum Thema AutoCAD .NET gibt (man muss sich viel aus
einzelnen Artikeln und Foren-Beiträgen zusammensuchen), was wiederum ein
Mitgrund ist, warum ich begonnen habe diese Seite zusammenzustellen.
Übrigens kann man mit .NET (ähnlich zu C++) fast alle Autodesk-Produkte
(genauere Infos im
Autodesk Developer Center) benutzerspezifisch anpassen - ebenfalls ohne
zusätzliche Kosten zugleich aber weit umfangreicher und tiefgehender als mit
AutoLISP und/oder VBA. Dazu muss man KEIN Mitglied des ADN sein. Einzig, wenn
man AutoCAD
Architecture über die C++-Schnittstelle anpassen möchte - Stichwort OMF -
muss man extra zahlen (Stand: 30.03.2009). Die AutoCAD .NET-Schnittstelle für
AutoCAD Architecture ist aber trotzdem ohne Zusatzkosten in diesem enthalten und
damit kann man immer mehr Funktionalitäten, die bis jetzt nur in der
C++-Schnittstelle enthalten waren, nutzen, ohne extra zahlen zu müssen.
^ zum Seitenanfang springen ^
|
|
|
|
|
|
2) Links zu AutoCAD .NET-Tutorials:
http://usa.autodesk.com/...id=785550 -
Downloadseite (Teil des Autodesk Developer Centers) für das ObjectARX SDK
(Software Development Kid), das u.a. die offizielle Haupt-Dokumentation
zur AutoCAD .NET-Schnittstelle von Autodesk enthält (persönliche Angaben sind für den Download notwendig - für
mehr Infos zu ObjectARX siehe Auto-/BricsCAD
C++-Links). Die Dokumentation ist nach dem Entpacken im Unterordner "docs" zu
finden oder teilweise auch separat downloadbar. Von der Datei "arxdoc.chm" aus sind die Inhalte aller anderen
chm-Dateien erreichbar. (Das "mgd" in "arxmgd.chm" bedeuted übrigens "managed".
Statt von ".NET-Code" wird in der verfügbaren Literatur nämlich auch von
"managed Code" gesprochen.) Außerdem ist darin auch eine AutoCAD
.NET-Einführung enthalten: Im Kapitel "ObjectARX Developer's
Guide / Using .NET for AutoCAD Development / ObjectARX Managed Wrapper Classes"
gibt es das Unterkapitel "Getting Started with Managed Wrappers". Es setzt ein
bisschen Vorwissen voraus, vor allem sollte man bereits mit dem Zusammenspiel
von Visual Studio und AutoCAD (und natürlich mit VB und/oder C# selbst) vertraut
sein. Daher ist diese .NET-Einführung und -Dokumentation hauptsächlich
für Fortgeschrittene CAD-Programmierer geschrieben. -
Für Beginner sind die nächsten Links besser geeignet !!
http://www.autodesk.com/myfirstautocadplugin
- Eine, wie mir scheint, ziemlich gute erste Einführung in AutoCAD (VB).NET von
Stephen Preston. (Dieser Link ist auch im
Autodesk
Developer Center verfügbar.)
http://howtoautocad.com/introduction-to-vb-net-in-autocad
- Eine kurze Einführung in AutoCAD (VB).NET von William Forty.
http://docs.autodesk.com/...AutoCAD 2010 .NET Developer's Guide
oder
AutoCAD 2011 .NET Developer's Guide - Wie der Name schon sagt, ist dies eine von Autodesk geschriebene
Entwickler-Anleitung für AutoCAD .NET mit Beispielen in VB.NET und in C#.NET.
Darin ist auch eine Einführung in Visual Studio enthalten. Wahrscheinlich die
wichtigste Ressource im Internet.
http://usa.autodesk.com/...id=1911627
- Auf dieser Seite kann man sich das "AutoCAD .NET Labs: AutoCAD 2010.Net
Training" und das Video-Tutorials "DevTV: Introduction to AutoCAD .NET
Programming" herunterladen. Das ".Net Training" ist sowohl für VB als auch für
C# gemacht. Das Video-Tutorial ist (abgesehen vom ersten "Hello World"-Code, der
komischerweise in C# geschrieben wird) in VB gehalten.
http://www.adskconsulting.com/.../api_course_sched.php - Auf dieser Seite
kann man sich, wenn man
ganz nach unten scrollt, einige ganz nette .NET-Video-Tutorials zu verschiedenen
Autodesk-Produkten herunterladen. Manche dieser Downloads enthalten auch eine
Zusammenfassung der Inhalte extra als pdf- oder ppt-Dokumente. Es kommen immer
wieder neue Videos dazu. TIPP: In der Titelleiste die Filter "Language" auf
"English" und "Location" auf "Webcast" stellen.
http://through-the-interface.typepad.com/...devtv - Weitere AutoCAD
.NET-Video-Tutorials - von Zeit zu Zeit kommen Videos dazu (ähnlich zu Links 3
und 4).
Eine Serie von Unterlagen der Autodesk University aus dem Jahr 2007:
http://augiru.augi.com/.../DE111-2.pdf (PDF) - AutoCAD .NET Basics, Part I
http://augiru.augi.com/.../DE115-2.pdf (PDF) - AutoCAD .NET Basics, Part II
http://augiru.augi.com/.../DE205-2.pdf (PDF) - AutoCAD .NET Show and Tell
http://augiru.augi.com/.../DE201-2.pdf (PDF) - AutoCAD .NET: Tell Me About
It!
http://augiru.augi.com/.../DE211-2.pdf (PDF) - The Best of Both Worlds: .NET
and LISP Can Coexist
http://au.autodesk.com/...filter_keywords=.NET... -
Weitere .NET Unterlagen der AU (Autodesk University) - Zum downloaden muss man
sich kostenfrei registrieren, aber ich denke, das ist es wert. Die Unterlagen
sind alle von bereits vergangenen Kursen, aber nichts desto trotz informativ und
hilfreich.
^ zum Seitenanfang springen ^
|
|
|
|
|
|
3) Links zu AutoCAD .NET-Büchern
(aus Papier):
"VB.NET Programming for AutoCAD Customization - Level 1" von Jerry Winters:
http://www.vbcad.com,
http://www.amazon.com/...1892131102 - ISBN-13: 978-1-892131-10-2, verlegt
von VB CAD, Inc., 13. April 2007 - Das Buch ist zwar auf VB.NET spezialisiert,
da es aber für C#.NET meines Wissens bis jetzt kein AutoCAD-Programmierer-Buch
gibt (Stand: 17.04.2009), würde ich es auch für C#-Leute empfehlen -
insbesondere weil man mit diesem Buch sowieso nicht
VB.NET lernen kann, sondern eben nur die AutoCAD .NET-Schnittstelle, die
wiederum für C#.NET gleich ist. Es sind halt nur die Beispiele in VB.NET
geschrieben, was aber wiederum kein Problem ist, wenn man einmal die paar
Unterschiede der 2 Sprachen (auf dem Level, das in diesem Buch verwendet wird)
heraußen hat. Das einzige, was wirklich schade ist, ist dass auch die ganzen
Code-Beispiele auf der CD nur in VB.NET geliefert werden. - Mein Tipp: Über
amazon.com bestellen, da es angeblich bei Bestellung über die Seite des
Herausgebers grobe Lieferverzögerungen gab oder noch gibt. Und bei amazon.com
hat es schon ein Monat bis nach Österreich gedauert. Leider gibt es das Buch
nicht auf amazon.de (Stand: 17.04.2009). Auf der Autoren-Seite (www.vbcad.com)
kann man das Buch übrigens auch als e-book kaufen und gleich downloaden.
Zur Zeit sind mir leider keine anderen Bücher zu diesem Thema bekannt.
Außer
dieses russische Buch. ;-) Hoffen wir, dass es bald übersetzt wird.
^ zum Seitenanfang springen ^
|
|
|
|
|
|
4) Links zu AutoCAD .NET-Blogs:
http://www.yourowncode.cad-becker.de - Ein DEUTSCHER Blog, mit einigen ganz
interessanten Beiträgen.
http://through-the-interface.typepad.com/through_the_interface
- Wohl der bekannteste Blog, und das aus gutem Grund.
http://cadingandcoding.blogspot.com
- Auch kein schlechter Blog, nur mit weniger Beiträgen.
http://blog.jtbworld.com
- Manche mögen diesen Blog ganz gern, ich kann damit weniger anfangen.
http://bobbycjones.spaces.live.com/blog
- Seit dem 11. August 2007 gibt es leider keine Beiträge mehr [Stand: 28. April
2009]. Das, was vorhanden ist, ist allerdings teilweise ganz brauchbar. Update
[11. Mai 2009]: Am 6. Mai 2009 gab es wieder einen Eintrag. Also vielleicht geht
es ja jetzt wieder weiter.
http://dwgdotnet.blogspot.com - Ein Blog, der anscheinend leider nur 2
Monate aktiv war, dafür aber wirklich ganz interessante Beiträge enthält
(obwohl, die hab ich bereits alle im Kapitel "Beiträge" verarbeitet).
http://modthemachine.typepad.com - Ein Blog zur Inventor COM-Schnittstelle
(hier angesprochen mit VBA und .NET)
http://thebuildingcoder.typepad.com - Ein Blog zu Revit VSTA und Revit .NET
http://dwf.blogs.com/beyond_the_paper/dwf_programming
- Eigentlich ein Blog allgemein zum Thema DWF. Es gibt aber auch eine
Programmierungs-Kategorie darin, die ab und zu möglicherweise interessante
Details enthält.
^ zum Seitenanfang springen ^
|
|
|
|
|
|
5) Links zu AutoCAD .NET-Foren:
http://ww3.cad.de/...forum=AutoCAD+ARX+Object... - das bekannte deutsche
AutoCAD (ObjectARX- und) .NET-Forum
http://ww3.cad.de/...forum=AutoCAD+VBA... - Dies ist eigentlich das bekannte
deutsche AutoCAD VBA-Forum. Trotzdem werden hier auch immer wieder Fragen zu
AutoCAD VB.NET gestellt. IMHO sollte das VBA-Forum nur zu Such-Zwecken verwendet
werden. Und neue .NET-Fragen sollten eigentlich im ersten verlinkten Forum
gestellt werden.
http://discussion.autodesk.com/...forumID=152 - AutoCAD .NET-Forum auf
autodesk.com
http://forums.augi.com/...215 - AutoCAD .NET-Forum der "Autodesk User Group
International"
http://www.theswamp.org/...board=27.0 - auch ein sehr gutes und bekanntes
AutoCAD .NET-Forum
^ zum Seitenanfang springen ^
|
|
|
|
|
|
6) Links zu AutoCAD .NET-Beiträgen
(in Blogs, Foren, etc.):
Hier wird auf sehr viele Beiträge des Blogs "Through the
Interface" gelinkt. Die folgenden Links sind dabei nur eine Auswahl dieses
Blogs. Es wird kein Anspruch auf Vollständigkeit bezüglich der Beiträge dieses
oder igenteines anderen Blogs gestellt. Außerdem werden die Themen in den
verlinkten Beiträgen nicht immer umfassend behandelt. Es kann für das
Verständnis wichtig sein, andere (grundlegendere) Literatur davor bzw.
zusätzlich zu lesen.
6.I) Grundlegende Themen:
Bitte
senden Sie mir ein eMail, wenn Sie hier eine Kategorie vermissen. Danke.
=) Aller erste Grundlagen:
Through the Interface:
.NET and AutoCAD
CADing && Coding:
AutoCAD .Net Programming - VB.Net or C# ?
Through the Interface:
Getting started with AutoCAD and .NET
cadalyst:
CAD Clinic: Going .Net - Get started with .Net in AutoCAD 2006
Through the Interface:
Compatibility of AutoCAD applications between releases (für .NET
siehe Kommentare)
Through the Interface:
Migrating your application to work with AutoCAD 2010 (vergleiche
mit vorigem Link)
Through the Interface:
Some background to AutoCAD's MDI implementation and per-document data
=) VS Express Editionen: (siehe auch die Infos in der nächsten (Debuggen)
und übernächsten ("Wizards" ...) Sektion!)
Autodesk-Forum:
Using Visual Basic Express to create an AutoCAD .NET addin
(PDF)
=) Debuggen:
Through the Interface:
Tired of not being able to NETUNLOAD from AutoCAD? "Edit and Continue" to the
rescue!
Through the Interface:
Debugging using Express editions
AUGI-Forum:
C# express debug ("didn't work for me")
=) "Wizards" und "Code Snippets":
Through the Interface:
Wizards vs. code samples?
Through the Interface:
A new project wizard for AutoCAD .NET development (!! siehe auch das Update im nächsten
Link)
Through the Interface:
Updated versions of the AutoCAD .NET Wizard & Labs
(sollte auch mit Express Editions funken)
Through the Interface:
Getting the ObjectARX Wizard to work with Express editions (!! für
die VORgänger-Version des Wiz)
Through the Interface:
Managed application templates for VB and C# Express Editions (eine
EE-Alternative
zum Wizard)
DotNetARX:
Enhanced AutoCAD .NET Application Wizard (VS2008) (Download)
DotNetARX:
Enhanced AutoCAD .NET Project Application Wizard (VSExpr.2008 und VS2005)
(Download)
Bobby C. Jones-Blog:
Visual Studio 2005 Code Snippets
Bobby C. Jones-Blog:
Visual Studio 2005 Code Snippets for the AutoCAD .NET API
Bobby C. Jones-Blog:
Visual Studio 2005 Code Snippets for the AutoCAD .NET API - Part 2
JTB World Blog:
VB 2005 and code snippets
JTB World Blog:
Surround With in VB.NET 2005 (Code Snippet Picker)
=) Einzelne grundlegende Code-Beispiele:
cadalyst:
CAD Clinic: AutoCAD Commands in VB .NET
cadalyst:
CAD Clinic: AutoCAD Commands in C#
CADing && Coding:
Conditions forever (in C#)
CADing && Coding:
Iterations in C#
CADing && Coding:
AutoCAD Prompts & Error Handling
Through the Interface:
Passing arguments to .NET-defined commands
Through the Interface:
Zooming to a window or entity inside AutoCAD with .NET
Through the Interface:
Accessing the active space or layout in an AutoCAD drawing using .NET
Through the Interface:
Per-document data in AutoCAD .NET applications
=) Vorhandene AutoCAD-Befehle verwenden / blockieren / umdefinieren:
Through the Interface:
Calling AutoCAD commands from .NET
Through the Interface:
Cancelling an active command in AutoCAD
Through the Interface:
Blocking AutoCAD commands from .NET
Through the Interface:
Replacing AutoCAD's OPEN command using .NET
=) Erzeugen von Zeichnungsdatenbank-Objekten:
Der Zugriff auf die Zeichnungsdatenbank sollte grundsätzlich IMMER über
Transactions erfolgen (siehe dazu u.a. die ersten 2 Links).
Allgemeines:
CAD.de (or AUGCE):
eine Frage zum Transaction Manager
Through the Interface:
Cleaning up after yourself: how and when to dispose of AutoCAD objects in .NET
Layer:
Dwg Dot Net:
Creating a layer
AUGI-Forum:
Various Database examples: CreateLayer (Autodesk University 2005) -
(scrolling needed)
Linien:
CADing && Coding:
Creating AutoCAD Geometry (drawing a line)
Dwg Dot Net:
Adding a line to modelspace
CADing && Coding:
Putting Everything Together - An Enhanced Line Command
Wipeouts:
Through the Interface:
Creating an AutoCAD Wipeout using .NET
Kreise:
AUGI-Forum:
Various Database examples: CreateCircle (Autodesk University 2005)
(Layer, Linien, Kreise,) Solids, Text, Bögen, Ringe:
C# Corner:
C# with AutoCAD
Blöcke:
spiegeln:
Through the Interface:
Mirroring AutoCAD entities using .NET
=) Objektwahl:
Through the Interface:
Two methods for selecting entities at a particular location
Through the Interface:
Finding all the AutoCAD entities on a particular layer using .NET
Through the Interface:
Conditional selection of AutoCAD entities using .NET
Through the Interface:
Using the pickfirst selection from an AutoCAD .NET application
Through the Interface:
Adding to the AutoCAD pickfirst set with .NET
Dwg Dot Net:
Finding all title blocks on all layouts
AUGI-Forum:
Single entity selection (Autodesk University 2005)
AUGI-Forum:
Selection Sets (Autodesk University 2005)
=) Lesen / Ändern von Zeichnungsdatenbank-Objekten:
Der Zugriff auf die Zeichnungsdatenbank sollte grundsätzlich IMMER über
Transactions erfolgen (siehe dazu u.a. die ersten 2 Links unter "Erzeugen von
Zeichnungsdatenbank-Objekten").
Allgemeines:
Through the Interface:
Accessing object properties in an AutoCAD .NET application
Through the Interface:
Working with specific AutoCAD object types in .NET (or: What sort of entity
is it? Line, Circle, ...)
Layer:
Dwg Dot Net:
Starting with layers (includes finding the current layer name)
Dwg Dot Net:
Find an existing layer
AUGI-Forum:
Various Database examples: ShowAllLayers (Autodesk University 2005)
Farbe:
Through the Interface:
Changing the colour of nested AutoCAD entities through .NET
Through the Interface:
Changing the colour of the contents of an AutoCAD block using .NET
Zeichenreihenfolge:
Through the Interface:
Manipulating the draw order of a newly created AutoCAD hatch using .NET
Block-Attribute:
Through the Interface:
Getting AutoCAD block attributes from a .NET application
Through the Interface:
Updating a specific attribute inside an AutoCAD drawing using .NET
schieben:
Through the Interface:
Moving entities from one AutoCAD layer to another using .NET
=) Plotten (und Seite einrichten):
Through the Interface:
Driving a basic AutoCAD plot using .NET
Through the Interface:
Driving a multi-sheet AutoCAD plot using .NET
Through the Interface:
Previewing and plotting a single sheet in AutoCAD using .NET
Through the Interface:
Previewing and plotting multiple sheets in AutoCAD using .NET
Through the Interface:
Allowing selection of an AutoCAD plot device and media name using .NET
Through the Interface:
Plotting a window from AutoCAD using .NET
Dwg Dot Net:
Plot Preview Gotcha
=) Automatisches Laden von .NET-Modulen:
Through the Interface:
Automatic loading of .NET modules
Through the Interface:
Loading .NET modules programmatically into AutoCAD
Through the Interface:
Initialization code in your AutoCAD .NET application
Through the Interface:
Optimizing the loading of AutoCAD .NET applications
Through the Interface:
Preventing a .NET module from being loaded by AutoCAD
Through the Interface:
Getting the list of .NET-defined commands in AutoCAD
=) Systempfade:
Through the Interface:
Getting AutoCAD's current directory from a .NET application
Through the Interface:
Getting the full path of the active drawing in AutoCAD using .NET
Through the Interface:
Finding the location of a .NET module (meaning the currently executing
assembly resp. dll-file)
=) Code vor anderen schützen:
Through the Interface:
Protecting intellectual property in AutoCAD application modules
Through the Interface:
More on IP protection and obfuscation
^ zum Seitenanfang springen ^
6.II) Fortgeschrittenere Themen:
=) .NET und AutoLISP:
Through the Interface:
Metaprogramming with AutoCAD (The eval-command from AutoLISP "reprogrammed"
for C# and VB)
JTB World Blog:
Lambda expressions and mapcar with VB.NET in VS 2008
=) .NET und COM:
Through the Interface:
COM vs. .NET in AutoCAD
Through the Interface:
Using the COM interface for AutoCAD objects from .NET
Through the Interface:
Interfacing an external COM application with a .NET module in-process to AutoCAD
Through the Interface:
Interfacing an external COM application with a .NET module in-process to AutoCAD
(redux)
=) .NET und ObjectARX:
Through the Interface:
Calling ObjectARX functions from a .NET application
Through the Interface:
Using the P/Invoke Interop Assistant to help call ObjectARX from .NET
=) .NET-API allgemein:
Through the Interface:
A cool tool for identifying .NET API enhancements
Through the Interface:
Supporting multiple AutoCAD versions - conditional compilation in C#
Through the Interface:
Configuring AutoCAD's use of the .NET Framework via acad.exe.config
Through the Interface:
AutoCAD 2008 – 64-bit application migration
=) AutoCAD .NET und MS Excel:
Through the Interface:
Creating an AutoCAD table linked to an Excel spreadsheet using .NET
Through the Interface:
Updating an AutoCAD table linked to an Excel spreadsheet using .NET
Through the Interface:
Updating an Excel spreadsheet from a linked AutoCAD table using .NET
=) Windows Registry:
JTB World Blog:
Using the registry or an INI file to save and retrieve information
JTB World Blog:
HKEY_CLASSES_ROOT (HKCR) key description
Through the Interface:
Storing custom AutoCAD application settings in the Registry using .NET
=) Visual Studio:
Through the Interface:
Advanced Visual Studio debugging: automatic expansion of watched variables
Through the Interface:
Advanced Visual Studio debugging: how to stop stepping into certain functions
Through the Interface:
More fun with Autoexp.dat - let's see those resbufs
Through the Interface:
Some cool copy/paste tools for Visual Studio
Through the Interface:
A quick Visual Studio tip - automatically implement interfaces in C#
JTB World Blog:
TreeTrim for Visual Studio project cleanup
=) Modellbereich:
Through the Interface:
Smoothly transitioning between 3D AutoCAD views using .NET - Part 1 - and
here Part 2
Through the Interface:
Rendering AutoCAD models offscreen using .NET
Through the Interface:
Taking a snapshot of the AutoCAD model using .NET
Through the Interface:
Taking a snapshot of the AutoCAD model (take 2)
=) Befehlszeile:
Through the Interface:
Die NOMUTT-Systemvariable in .NET
Through the Interface:
More quiet command-calling: adding an inspection dimension inside AutoCAD using
.NET
=) Interaktion mit dem Benutzer:
AutoCAD-interne Standard-Dialoge:
Through the Interface:
Showing AutoCAD's hatch dialog from a .NET application
Through the Interface:
Adding a custom tab to AutoCAD's options dialog using .NET
AUGI-Forum:
Adding tabs to the options dialog box (Autodesk University 2005)
Through the Interface:
Using standard AutoCAD dialogs to select colors, linetypes and lineweights with
.NET
Through the Interface:
Modifying the color, linetype and lineweight of an AutoCAD entity using standard
dialogs from .NET
Through the Interface:
Using a palette from .NET to display properties of multiple AutoCAD objects
Through the Interface:
Exposing AutoCAD's Properties Palette functionality to .NET
Through the Interface:
Using AutoCAD's file selection dialog from .NET
benutzerdefinierte Dialoge:
Through the Interface:
The right way to show modal and modeless dialogs in AutoCAD using .NET
Through the Interface:
Using a modal .NET dialog to display AutoCAD object properties
Through the Interface:
Using a modeless .NET dialog to display AutoCAD object properties
Through the Interface:
Using a modeless .NET dialog to display props of multiple AutoCAD objects
Through the Interface:
AutoCAD .NET version of the ObjectARX BlockView sample
AUGI-Forum:
Creating custom palettes (Autodesk University 2005)
Through the Interface:
Implementing task dialogs inside AutoCAD using .NET - Part 1 - and
here Part 2
Through the Interface:
Implementing your own AutoCAD color combobox control using .NET
Through the Interface:
Catching exceptions thrown from dialogs inside AutoCAD using .NET
sonstige Interaktion mit dem Benutzer:
AUGI-Forum:
Adding buttons to the status bar (Autodesk University 2005)
Through the Interface:
Implementing a custom AutoCAD object snap mode using .NET
Through the Interface:
Adding custom props to AutoCAD's rollover tooltip and its quick props panel
Through the Interface:
Showing a balloon notification using the InfoCenter API in AutoCAD 2009
Through the Interface:
Different ways to display balloon notifications in AutoCAD using .NET
Through the Interface:
Allowing users to escape from long ops in AutoCAD .NET
Through the Interface:
Displaying a progress meter during long operations in AutoCAD using .NET
JTB World Blog:
DotNetBar for Windows Forms 7.8
=) Transactions:
Through the Interface:
Nesting instincts: getting more out of transactions inside AutoCAD using .NET
=) Erzeugen von Zeichnungsdatenbank-Objekten (fortgeschritten):
Layer:
Through the Interface:
Adding and removing AutoCAD layer filters using .NET
Through the Interface:
Creating a layer group inside AutoCAD using .NET
Linientypen:
Through the Interface:
Creating an AutoCAD linetype programmatically using .NET
Through the Interface:
Creating a complex AutoCAD linetype containing text using .NET
Through the Interface:
Understanding the properties of textual linetype segments in AutoCAD
Polylinien:
Through the Interface:
Controlling interactive polyline creation
Through the Interface:
Creating an AutoCAD polyline from an exploded region using .NET
Through the Interface:
Creating a series of AutoCAD polylines by expl. a complex region using .NET
Text:
Through the Interface:
Drawing text planar to the screen inside AutoCAD's drawing window using .NET
Führungen:
Through the Interface:
Creating an AutoCAD leader w. a different arrowhead using .NET
Through the Interface:
Creating a spline-segment multileader in AutoCAD using .NET
Through the Interface:
Creating an AutoCAD multileader spraying out from central text using .NET
Beschriftungen:
Through the Interface:
Adding a new annotation scale in AutoCAD using .NET
Solids und Flächen (3D):
Through the Interface:
Creating an editable AutoCAD solid using .NET
Through the Interface:
Sweeping an AutoCAD surface using .NET
Tabellen und Tabellen-Stile:
Through the Interface:
Creating an AutoCAD table using .NET
Through the Interface:
Creating an AutoCAD table containing block images using .NET
Through the Interface:
Embedding fields in an AutoCAD table using .NET
Through the Interface:
Creating a table of block attributes in AutoCAD using .NET
Through the Interface:
Creating a custom AutoCAD table style using .NET
Through the Interface:
More fun with AutoCAD tables and their styles using .NET
XData:
Through the Interface:
Adding XData to AutoCAD entities using .NET
=) Lesen / Ändern von Zeichnungsdatenbank-Objekten (fortgeschritten):
Allgemeines:
Through the Interface:
Accessing the AutoCAD objects referred to by fields using .NET
Through the Interface:
Getting access to an entity from its handle in AutoCAD .NET
Through the Interface:
Reflecting on AutoCAD .NET
Through the Interface:
Using .NET reflection with AutoCAD to change object properties
Through the Interface:
Swapping identities of AutoCAD objects using .NET
Farben aendern:
Through the Interface:
Using a color-book entry to set the colour of an AutoCAD entity using .NET
Through the Interface:
Getting the names of the colors in an AutoCAD color-book using .NET
hervorheben:
Through the Interface:
Highlighting an AutoCAD entity in a nested block using .NET
Through the Interface:
Highlighting a nested AutoCAD block using .NET
Polylinien:
Through the Interface:
Iterating through a polyline's vertices using AutoCAD .NET
Through the Interface:
Ein Beispiel zur Polylinien-Bearbeitung: Generating Koch fractals in AutoCAD
using .NET
Beschriftungen:
Through the Interface:
Making AutoCAD objects annotative using .NET
Through the Interface:
Deleting unused annotation scales in AutoCAD using .NET
dynamische Blöcke:
Through the Interface:
Accessing the properties of a dynamic AutoCAD block using .NET
Through the Interface:
Painting properties between dynamic AutoCAD blocks using .NET
Schraffuren:
Through the Interface:
Applying a gradient fill to an AutoCAD hatch using .NET
Through the Interface:
Robotic hatching inside AutoCAD using .NET (dealing with hatch bounderies)
Solids (3D):
Through the Interface:
Getting the type of an AutoCAD solid using .NET (of a Solid3d)
Through the Interface:
Sectioning an AutoCAD solid using .NET
Through the Interface:
Free-form modeling in AutoCAD 2010 using .NET
Through the Interface:
Traversing a 3D solid's brep using AutoCAD 2009's new .NET API
Through the Interface:
Selecting the nearest face of an AutoCAD solid using .NET
-
Fortsetzung: Implementing a LookAt ...
=) Jigging:
Through the Interface:
Controlling interactive polyline creation - Part 3 (using a jig)
Through the Interface:
Using a jig to rotate an AutoCAD entity via .NET
Through the Interface:
Jigging an AutoCAD block with attributes using .NET
Through the Interface:
Advanced jigging with AutoCAD .NET - adding keywords
Through the Interface:
Using a jig from .NET to multiply insert AutoCAD blocks: Part 1 -
Part 2
Through the Interface:
Creating a multileader in AutoCAD using a jig from .NET
AUGI-Forum:
Jigging (Autodesk University 2005)
=) Overruling: (ab AutoCAD 2010)
Through the Interface:
Customizing the display of standard AutoCAD objects using .NET
Through the Interface:
Let’s get specific: customizing the display of individual AutoCAD objects using
.NET
Through the Interface:
Optimized overruling in AutoCAD 2010 using .NET
Through the Interface:
Overruling explode in AutoCAD 2010 using .NET
=) Events und Reactors:
Through the Interface:
Linking Circles: Using .NET events to relate AutoCAD geometry
(5 Teile)
Through the Interface:
Anchoring AutoCAD entities to each other using .NET
Through the Interface:
Rolling back the effect of AutoCAD commands using .NET
Through the Interface:
Preventing an AutoCAD block from being exploded using .NET
AUGI-Forum:
Database event example (Autodesk University 2005)
=) CUI:
Through the Interface:
Loading a partial CUI and making its toolbars visible through .NET
Through the Interface:
Creating a partial CUI file using .NET and loading it inside AutoCAD
Through the Interface:
The New RibbonBar API in AutoCAD 2009
=) Kontextmenüs:
Through the Interface:
Adding a context menu to AutoCAD objects using .NET
Through the Interface:
It's all in the context: adding a default menu to your AutoCAD app using .NET
Through the Interface:
Displaying a context menu during a custom AutoCAD command using .NET
=) Andere dwg-Dateien und XRefs:
Through the Interface:
Closing all open AutoCAD documents from a .NET application
Through the Interface:
Accessing DWG files not open in the AutoCAD editor using .NET
Through the Interface:
A closer look at the C# code for importing blocks
Through the Interface:
Enabling AutoCAD’s offset to work on the contents of xrefs using .NET
Through the Interface:
Importing AutoCAD layers from xrefs using .NET
JTB World Blog:
ObjectDBX/RealDWG using VB.NET
Adesk Discuss. Groups:
How to connect to ObjectDBX in VB.net
=) Stapelverarbeitung:
Through the Interface:
Updating a specific attribute inside a folder of AutoCAD drawings using .NET
Through the Interface:
Updating a specific attribute inside a folder of AutoCAD drawings using RealDWG
from .NET
Through the Interface:
Purging registered app names from a folder of AutoCAD drawings using .NET
=) Externe Steuerung der AutoCAD-Applikation:
Through the Interface:
Launching AutoCAD from a .NET application
Through the Interface:
Launching AutoCAD with a specific profile using .NET
Through the Interface:
Embedding AutoCAD 2009 in a standalone dialog
JTB World Blog:
Launch AutoCAD 2004 from VB.NET
=) Sonstiges:
Through the Interface:
Showing a splash-screen from your AutoCAD .NET application
Through the Interface:
Reclaiming memory from erased AutoCAD entities using .NET
Through the Interface:
Purging registered app names in the current AutoCAD drawing using .NET
Through the Interface:
Testing whether an AutoCAD drawing is 2D or 3D using .NET
Through the Interface:
Extracting (XML) data from drawings using a new .NET API in AutoCAD 2009
Through the Interface:
An automatic numbering system for AutoCAD blocks using .NET
Through the Interface:
Filtering Windows messages inside AutoCAD using .NET
Through the Interface:
Implementing a CAD Standards plugin for AutoCAD using .NET
Through the Interface:
Creating demand-loading entries automatically for your AutoCAD application using
.NET
Through the Interface:
Registering AutoCAD commands with localized names using .NET
^ zum Seitenanfang springen ^
6.III) F# (eine "funktionale" .NET-Sprache):
=) Grundlagen:
Through the Interface:
An interview with Don Syme (or some fundamentals of F#)
Through the Interface:
AutoCAD .NET - Developing for AutoCAD Using F# - Part 1
Through the Interface:
AutoCAD .NET - Developing for AutoCAD Using F# - Part 2
Through the Interface:
My first F# application for AutoCAD (Read "AutoCAD .NET - Developing for
AutoCAD Using F#" first!)
=) Sonstiges:
Bobby C. Jones-Blog:
Manipulating Polylines In AutoCAD With F# – Part I
Bobby C. Jones-Blog:
Manipulating Polylines In AutoCAD With F# – Part II
Bobby C. Jones-Blog:
Manipulating Polylines In AutoCAD With F# – Part III (Creating a Palette)
Bobby C. Jones-Blog:
Manipulating Polylines In AutoCAD With F# – Part IV
Bobby C. Jones-Blog:
Manipulating Polylines In AutoCAD With F# – Part V
Bobby C. Jones-Blog:
Manipulating Polylines In AutoCAD With F# – Part VI
Bobby C. Jones-Blog:
More F# Adventures: You win some; you lose some (a try to do simple batch
processing with F#)
Through the Interface:
More fun with F# and AutoCAD: string extraction and manipulation
Through the Interface:
Robotic hatching inside AutoCAD using F# and .NET
Through the Interface:
Parallelizing robotic AutoCAD hatching with F# and .NET
Through the Interface:
Initialization code in your F# AutoCAD application
Through the Interface:
A mathematical F# application integrating with AutoCAD via .NET -
Fortsetzung: Mardi Gras...
Through the Interface:
Getting the total volume of 3D solids in an AutoCAD model using F#
Through the Interface:
Metaprogramming with AutoCAD - Part 3 (using F#)
Through the Interface:
Turning AutoCAD into an RSS reader with F#
Through the Interface:
Using F# Asynchronous Workflows to simplify concurrent programming in AutoCAD
Through the Interface:
Using F# to simulate hardware behaviour
Through the Interface:
Using Reflector to diagnose tail call optimization in F#
Through the Interface:
Sectioning an AutoCAD solid using F#
Through the Interface:
Customizing the display of standard AutoCAD objects using F#
Through the Interface:
Pointing at clouds: more random musings on AutoCAD and F#
Through the Interface:
Recursive F# code to generate random point clouds inside AutoCAD
Through the Interface:
Using AutoCAD 2009's new transient graphics API to show point clouds from F#
Through the Interface:
Implementing a simple graphing tool inside AutoCAD using F#
Through the Interface:
Importing and pixelizing images inside AutoCAD using F#
Through the Interface:
Parallelized pixelization inside AutoCAD using F#
^ zum Seitenanfang springen ^
|
|
|