Einzelnen Beitrag anzeigen

thomasch

Registriert seit: 7. Apr 2005
57 Beiträge
 
Delphi 2007 Architect
 
#12

Re: variantes Array aus Longs?

  Alt 29. Jun 2005, 23:59
Zitat von scp:
Interessanter wäre der gesamte Abschnitt von GetLink() mit allen Parametern. Es geht nämlich z.B. darum, ob auch ein Paramter NumLinks oder so vorhanden ist, der die Anzahl der Longs enthält.
Aus der OH:

RetVal = object.GetLinks([LinkTemplate] [, ObjectIDs] [, LinkTypes] [, Document])

Object stellt die allgemeine Verbindung zur DB dar

LinkTemplate
LinkTemplate object, or a string identifying a link template; input-only; optional
If specified, indicates the link template whose links are returned.

ObjectIDs
Variant (array of Longs); input-only; optional
If specified, each long is the object ID of an AutoCAD entity whose links are to be returned.

LinkTypes
Variant; input-only; optional
Specifies the type of links to return.
(letztendlich ein Integer - hat mit den ObjektIDs auch nix zu tun)

Document
Document object; input-only; optional
(Das aktuelle AutoCAD Dokument)

RetVal:
Links collection; The Links collection for the specified link template.

Zitat:
Desweiteren stellt sich die Frage: Sollen die Daten von AutoCAD kommen oder musst du sie an AutoCAD übergeben (ich vermute ersteres)?
Ich übergebe die ObjektIDs ind dieser Funktion an AutoCAD und erhalte ein Auflistung der zu den Objekten gehörenden Links.

Viele Grüße

Thomasch
  Mit Zitat antworten Zitat