|
EPLAN Electric P8 : Eplan API
patzi88 am 23.01.2009 um 08:46 Uhr (0)
So wenn ich Code:MultiLangString mlstrPageDesc = new MultiLangString(); mlstrPageDesc.AddString(ISOCode.Language.L___, "API-Testseite");bleibt, wie könnte es sein die Spalte im Eplan-Seiteneigenschaften-Seitenbeschreibung leer, aber anscheinend muss es das sein, wenn es in der Hilfe so abgebildet ist.Und, nein ich war auf keiner API schulung, vl liegts daran
|
In das Form EPLAN Electric P8 wechseln |
|
EPLAN Electric P8 : Eplan API
patzi88 am 23.01.2009 um 08:54 Uhr (0)
Ja das glaube ich dir, Spass kann man das echt nicht nennen was ich da habe so ich werds einmal versuchen und dann meld ich micht wieder obs gefunzt hatCU
|
In das Form EPLAN Electric P8 wechseln |
|
EPLAN Electric P8 : Eplan API
patzi88 am 23.01.2009 um 09:13 Uhr (0)
Hey das mit den Seitenname hat funktioniert, man darf den wert erst nach dem erstellen der Seite zuweisen und nicht wie bei zB Page_counter vorher jetzt noch das mit den Makros und mein tag wäre gerettet
|
In das Form EPLAN Electric P8 wechseln |
|
EPLAN Electric P8 : Eplan API
patzi88 am 23.01.2009 um 09:44 Uhr (0)
hmm für Makros einfügen muss ich ja nur mehr Eplan.EplApi.HEServicesu.dll hinzufügen oder benötigt er da noch andere?
|
In das Form EPLAN Electric P8 wechseln |
|
EPLAN Electric P8 : Eplan API
patzi88 am 23.01.2009 um 10:17 Uhr (0)
Also die using direktivenCode:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using Eplan.EplApi.System;using Eplan.EplApi.DataModel;using Eplan.EplApi.DataModel.MasterData;using Eplan.EplApi.Base;using Eplan.EplApi.HEServices;und nun das Coding für Makros:Code:string strWMacroPath = string.Empty; OpenFileDialog opfMacroPath = new OpenFileDialog(); opfMacroPath.InitialDirectory = ...
|
In das Form EPLAN Electric P8 wechseln |
|
EPLAN Electric P8 : Eplan API
patzi88 am 23.01.2009 um 10:27 Uhr (0)
Okay das mit der 1 war nur eine spielerei, aber gut zu wissen das dass die Varianten sind ja mit Code:oNewPage.Create(oOpenProject, DocumentTypeManager.DocumentType.Circuit, oPagePropList);wird die seite zuerst erstellt und dann sollte eigentlich das Makro hinzugefügt werden. und ja die dlls sind alle im Debug und im BIN Ordner.
|
In das Form EPLAN Electric P8 wechseln |
|
EPLAN Electric P8 : Eplan API
patzi88 am 23.01.2009 um 11:22 Uhr (0)
Ja aber er kommt ja gar nicht soweit das ich ein Makro auswählen könnte... ich werds trotzdem mal versuchen
|
In das Form EPLAN Electric P8 wechseln |
|
EPLAN Electric P8 : Eplan API
patzi88 am 26.01.2009 um 11:14 Uhr (0)
Vielleicht kann sich ja jemand ein besserer Bild machen wenn er die Error Message sieht...
|
In das Form EPLAN Electric P8 wechseln |