[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 86: htmlspecialchars(): Charset "utf8-bin" is not supported, assuming UTF-8
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 151: htmlspecialchars(): Charset "utf8-bin" is not supported, assuming UTF-8
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 152: htmlspecialchars(): Charset "utf8-bin" is not supported, assuming UTF-8
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/user.php on line 329: htmlspecialchars(): Charset "utf8-bin" is not supported, assuming UTF-8
DesignCAD DC Toolkit FileLinker Forum Das User Forum für DesignCAD, DC Toolkit und FileLinker Anwender 2025-12-19T07:26:00+01:00 https://dws-helpdesk.de/forum/app.php/feed/topic/849 2025-12-19T07:26:00+01:00 2025-12-19T07:26:00+01:00 https://dws-helpdesk.de/forum/viewtopic.php?t=849&p=2785#p2785 <![CDATA[Re: COM-Schnittstelle]]>
Verwendet hier niemand die COM-Automatisierungsschnittstelle von DesignCAD?

Schöne Feiertage und einen guten Rutsch!

LazPy

Statistik: Verfasst von LazarusPython — Freitag 19. Dezember 2025, 07:26


]]>
2025-11-27T07:17:10+01:00 2025-11-27T07:17:10+01:00 https://dws-helpdesk.de/forum/viewtopic.php?t=849&p=2760#p2760 <![CDATA[Re: COM-Schnittstelle]]>
gibt es eine neuere DOKU zur COM-Schnittstelle? Ich habe gerade nur devguide12.pdf bei mir gefunden. Delphi 4 und 5...

Wird denn bei IMSI-Design überhaupt Wert auf die COM-Schnittstelle gelegt? Wenn man damit programmieren möchte, sollte man da eher auf TurboCAD gehen?

Viele Grüße
LaPy

Statistik: Verfasst von LazarusPython — Donnerstag 27. November 2025, 07:17


]]>
2025-11-24T21:45:51+01:00 2025-11-24T21:45:51+01:00 https://dws-helpdesk.de/forum/viewtopic.php?t=849&p=2757#p2757 <![CDATA[COM-Schnittstelle]]>
kennt sich hier jemand mit der COM-Schnittstelle aus? Ich habe etwas Erfahrung mit Lazarus und Python, wollte das jetzt auf Nelson anwenden.
https://nelson-lang.github.io/nelson-we ... RFACE.html

Allerdings liefert der Aufruf von DcApp = actxGetRunningServer("DesignCAD.Application") kein COM.DesignCAD_Application zurück (analog so wie in dem Link das Beispiel mit dem Excel-Zugriff COM.Excel_Application liefert) sondern nur COM

Das Ableiten von DcDoc = DcApp.ActiveDocument, DcPts = DcDoc.CmdPoints usw. funtioniert. Der Befehl invoke(DcPts, 'SetCommandPoint' 0,0,0) funktioniert auch. invoke(DcPts, 'GetUserPoint', x,y,z) funktioniert nicht. Hier shlägt wohl die Typumwandlung nach Variant fehl. x,y und z werden vorher mit 0 initialisiert.

Kennt sich jemand damit aus?

Viele Grüße und noch schönen Abend

LazarusPython

Statistik: Verfasst von LazarusPython — Montag 24. November 2025, 21:45


]]>