|
CATIA V5 Programmierung : Suche über Dateinamen im Product
bgrittmann am 28.05.2013 um 18:19 Uhr (0)
Servus RalfIMHO ist die Suche nicht eindeutig, denn sie liefert dir jedes Objekt mit dem Namen "01234_500_PLATTE" also ggf das PartDocument, das Product, oder das Part. (oder heißt zB eine Ebene noch so)Entweder du machst die Suche eindeutig zB "CATAsmSearch.Part.PartNumber=01234_500_PLATTE,all" oder du greifst direkt audf das Dokument zurück (falls der Dateinamen bekannt ist): catia.documents.item("01234_500_PLATTE.CATPart")GrußBernd------------------Warum einfach, wenn es auch kompliziert geht.
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Automation Error bei der Erstellung von UserRefProperties
gehirnsuelze am 29.05.2013 um 08:07 Uhr (0)
Hallo Forum,ich möchte per Makro benutzerdeefinierte Eigenschaften zu einem Produkt hinzufügen, CATIA stolpert allerdings in eine Automation Error (siehe letzte Zeile des Codes).Code:Dim parameters As parametersDim paramSTTPT As StrParamSet productLevel6 = productsLevel5.AddNewComponent("Product", productProperties.FifthLevelName & "__" & strGroupArray(i))Set parameters = productLevel6.UserRefPropertiesHat jemand eine Idee woran es liegen könnte?In der Makro-Aufzeichnung wird der selbe Code verwendet?Viele ...
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : mit Makro ein JPG Bild erstellen
K-Volkmann am 27.01.2011 um 12:10 Uhr (0)
Hallo zusammenich möchte über ein Makro, daß ich in ECXEL starte folgende Funktion realisieren.Ich möchte die Catia Funktion tools - Bild - erfassen durchführen und das Bild dann apbspeichern oder wenn möglich gleich in eine PPT einfügen.Geht sowas ?
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : mit Makro ein JPG Bild erstellen
8user8 am 27.01.2011 um 14:44 Uhr (0)
Hi,hast du mal in die aPI geschaut ob es entsprechende Obejkte und Methoden gibt?sonst bleibt wohl nur eins:CATIA.StartCommand "Capture"CATIA.StartCommand "....jetzt musst du selbst weiter testen..."GRüße
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : mit Makro ein JPG Bild erstellen
Thomas Harmening am 27.01.2011 um 18:38 Uhr (0)
Zitat:Original erstellt von K-Volkmann:Ich möchte die Catia Funktion tools - Bild - erfassen durchführen und das Bild dann apbspeichern oder wenn möglich gleich in eine PPT einfügen.Klar geht sowas, Erfassen - Zwischenablage - PPTAber bei mir macht es das Hardcopyprogramm und das ist auch viel flinker als das Catia-Tool.[Diese Nachricht wurde von Thomas Harmening am 27. Jan. 2011 editiert.]
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : mit Makro ein JPG Bild erstellen
K-Volkmann am 28.01.2011 um 11:27 Uhr (0)
Hallo Thomas Harmening Das mit der Software Hardcopy ist eine feine Sache. Kostet aber sicherlich auch Geld.Der Grund warum ich die erstellung eines Bildes über Makro aus Excel machen will ist folgender.Ich füge schon über ein Excel Makro mehrere Werte von Zellen in eine PPT ein. In diesem Zuge möchte ich aus Exel ein Bild von Catia (Funktion : tools-Bild-Bild erstellen) über ein Makro abbilden, und das Bild auch in die PPT einfügen.Hat vieleicht jemand einen konkreten Ansatz wie man das Programmiert ?Wie ...
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : mit Makro ein JPG Bild erstellen
bgrittmann am 28.01.2011 um 14:05 Uhr (0)
Servusich meine die Doku der Programmier-Schnittelle (V5Automation.chm im Catia Installationsverzeichnis)GrußBernd------------------Warum einfach, wenn es auch kompliziert geht.
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : mit Makro ein JPG Bild erstellen
K-Volkmann am 29.01.2011 um 21:48 Uhr (0)
Hallo Ich habe jetzt ein Makro in Ecxel, das ein Bild von Catia Bidschirm erstellt,und in eine Powerpoint Folie einfügt.Das Makro hat in Excel zuerst nicht funktioniert.Ich habe dann bei den Verweise bei allen Catia einträgen einen Hacken gesetztjetzt funktioniert es bei mir super auch von Excel auscode:Sub Power() Power Makro Makro am 29.01.2011 von G aufgezeichnetDim CATIA As ObjectDim Activedoc As ObjectSet CATIA = GetObject(, "Catia.Application")Set Activedoc = CATIA.ActiveDocumentDim TempPfadTempPfad ...
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : mit Makro ein JPG Bild erstellen
Bertel am 28.05.2013 um 11:38 Uhr (0)
Hallo k-Volkmann,habe dein Makro hier etwas abgeaendert im Einsatz - starte es in CATIA als CATScript.In Powerpoint 2010 habe ich nun bemerkt, das für jedes eingefügte Bild ein Link erzeugt wird!?!Zitat:Set PptShape = PptShapes.AddPicture(TempPfad & Dateiname, True, True, 70, 70)Mit dieser Änderung entsteht der Link nicht mehr:Set PptShape = PptShapes.AddPicture(TempPfad & Dateiname, False, True, 70, 70)Kannst du das bestätigen?GrußBertel
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Cnext.exe can not be found or does not match
h134635 am 31.05.2013 um 09:56 Uhr (0)
Hi everyone,I have installed CAA RADE V5R19 for CATIA + VS 2005 SP1. All step of installation process are OK but when i perform a solution CAAProductStructureUI.edu, the VS inform that "CNext can not be found or does not match" and CATIA is opened without "CAA tool bar" so i can not press the buttom to "hello world"I dont know reason why, please help me
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Cnext.exe can not be found or does not match
h134635 am 03.06.2013 um 04:18 Uhr (0)
Zitat:Original erstellt von HoBLila:Your request is really low on information.What did you tried?What do you want?Give us a step by step scenario.Did you compiled it and how you linked the cnext.exe to the debugger?How do you start the solution?Here is my environment:- WinXP 32bit SP2- CATIA P2 V5R19 SP0 32bit- VS 2005 SP1- CAA RADE P3 V5R19 32bit(I have no license, I use C R A C K from internet. Everything seem OK)Now, I want to perform a "Hello World" program as following:- Create a new foler D:UI- Copy ...
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : xls als xlsx abspeichern
Hokay am 05.06.2013 um 13:16 Uhr (0)
Hallo Zusammen,ich versuche in einem CATScript eine Excel .xls Datei (altes Format) zu öfnen und als .xlsx Datei (Excel 2010) zu speichernGeöfnet bekomm ich die Datei aber nicht unter anderem Format gespeichertoAWBook.SaveAs Filename:= Workfile, FileFormat:=xlOpenXMLWorkbookMacroEnabled, CreateBackup:=False geht nicht zumindest nicht aus dem CATIA (CATScript) heraus (also kein VBA!)Ich habe es auch so versuchtoAWBook.SaveAs Workfile, 6 auch andere Zahlen da schreibt der CATScript verschiedene Textfiles ode ...
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Kinematik Parameter auslesen
P-Style am 09.02.2009 um 16:18 Uhr (1)
Hallo!Meine Frage ist, ob jemand weiß ob man über die CAA Schnittstelle auch Parameter von einer Kinematik Simulation auslesen kann? Ich bin leider noch totaler Anfänger was die Programmierung von CATIA angeht und versuche mich gerade schlau zu machen.
|
In das Form CATIA V5 Programmierung wechseln |