Im Beitrag/Titel Nur im Titel Nur nach Datum sortieren Docs / Anhänge mit Lösung
Suchmaschinenstatistik
Livesuche
Einstellungen
Info

Auch mit chatGPT* können Lösungen aus dem CAD.de-Forum recherchiert werden:

* chatGPT ist eine eingetragene Marke von openAI

Ergebnisse 27 - 39, 56 Gesamtergebnisse mit Suchbegriffen catia macro bom to excel sec.
CATIA V5 Programmierung : Part im Product aktiv setzen
imation1999 am 04.03.2013 um 21:45 Uhr (0)
Hallo Rick,vielen Dank für den Code! Aber ich würde mit folgendem Code, eins nach dem anderen aktivieren (Aktiv setzen).Also: Part1.1, dann Part1.2, dann Part1.3, ...usw.Es funktionert, wenn ich mehrere verschiedene Part habe. Bei mehrere Instancen (gleiche Parts) geht das leider nicht. Immer wird geliche Part (z.B. Part1.1) aktiv sein. Was mache ich falsch?Code:For i = 1 To UBound(SelBackup) Selection1.Clear Selection1.Add SelBackup(i) Set part1 = selection1.Item2(1).Value.ReferenceProduct.Parent.part ...

In das Form CATIA V5 Programmierung wechseln
CATIA V5 Programmierung : Schleife für Dxf-Umwandlung inkl. Farb- und Layer-änderung
imation1999 am 29.11.2013 um 17:00 Uhr (1)
Achso thja, mein Fehler!Versuch mal so...Code:......Dim selection1 As SelectionFor i = 1 To oFolder.Files.Count Set oFile = oFolder.Files.Item(i) If Right(oFile.Name, 10) = "CATDrawing" Then Name = Left(oFile.Name, Len(oFile.Name) - 11) Datei = Pfad + Name + ".CATDrawing" F = F + 1 Set oActiveDoc = CATIA.Documents.Open(Datei) Set Document = CATIA.ActiveDocument Set selection1 = Document.Selectionselection1.Search "Weight=0,2mm,all"Selection1.VisProperties.SetLayer catVisLayerBasic, 1s ...

In das Form CATIA V5 Programmierung wechseln
CATIA V5 Programmierung : Schleife für Dxf-Umwandlung inkl. Farb- und Layer-änderung
imation1999 am 29.11.2013 um 07:15 Uhr (1)
Hallo,lass mal selection2 weg. Einfach mit selection1 weterarbeiten.Code:......Dim selection1 As SelectionSet selection1 = Document.SelectionFor i = 1 To oFolder.Files.Count Set oFile = oFolder.Files.Item(i) If Right(oFile.Name, 10) = "CATDrawing" Then Name = Left(oFile.Name, Len(oFile.Name) - 11) Datei = Pfad + Name + ".CATDrawing" F = F + 1 Set oActiveDoc = CATIA.Documents.Open(Datei) Set Document = CATIA.ActiveDocumentselection1.Search "Weight=0,2mm,all"Selection1.VisProperties.SetLay ...

In das Form CATIA V5 Programmierung wechseln
CATIA V5 Drafting : Catia Drafting Darstellung von Bohrungen (simple) anpsaaen???
imation1999 am 04.12.2013 um 10:56 Uhr (1)
Das Problem liegt beim: PropertiesDress-UpFilletsStell mal auf Symbolic um.

In das Form CATIA V5 Drafting wechseln
CATIA V5 Programmierung : Winkel zwischen 2 Linien messen
imation1999 am 23.09.2012 um 09:51 Uhr (0)
Hallo Zusammen,mit folgende Code möchte ich den Winkel zwischen 2 Linie messen:Code:Language="VBSCRIPT"Sub CATMain()Dim partDocument1 As DocumentSet partDocument1 = CATIA.ActiveDocumentDim part1 As PartSet part1 = partDocument1.PartDim UserSelection as SelectionSet UserSelection = CATIA.ActiveDocument.SelectionDim Mes1 As Referencedim status Dim Was(0)Was(0)="Line"UserSelection.Clearstatus=UserSelection.SelectElement2(was, "Select a Line", False)Set Mes1=part1.CreateReferenceFromObject(UserSelection.Item(1 ...

In das Form CATIA V5 Programmierung wechseln
CATIA V5 Programmierung : CreateReferenceFromName - Schleife
imation1999 am 29.11.2012 um 07:29 Uhr (0)
Morgen Zusammen,Ich möchte in einem Product mehrere Coincidence Constraint erzeugen. (Absolute Axis System:Z-Achse zu Absolute Axis System:Z-Achse)Erstmal wähle ich die Parts manuell aus (selection1)Was stimmt hier nicht?"CATIA.ActiveDocument.Product.Name & "/" & selection1.Item(i).value.name & "/!" & Selection_REdge...Code:For i = 1 To selection1.CountSet reference2 = product1.CreateReferenceFromName("CATIA.ActiveDocument.Product.Name & "/" & selection1.Item(i).value.name & "/!" & Selection_REdge:(Edg ...

In das Form CATIA V5 Programmierung wechseln
CATIA V5 Programmierung : Reference in Selection zufügen
imation1999 am 21.06.2016 um 08:27 Uhr (1)
Hallo Zusammen,warum kann ich ein Reference in mein Selection nicht hinzufügen? Bis jetzt hat es immer geklappt. (CATScript oder VBA)"The method Add failed"Code:Sub CATMain()Dim partDocument1 As PartDocumentSet partDocument1 = CATIA.ActiveDocumentDim part1 As PartSet part1 = partDocument1.PartDim hybridBodies1 As HybridBodiesSet hybridBodies1 = part1.HybridBodiesDim hybridBody1 As HybridBodySet hybridBody1 = hybridBodies1.Item("Work_for_Macro")Dim hybridShapes1 As HybridShapesSet hybridShapes1 = hybridBody ...

In das Form CATIA V5 Programmierung wechseln
CATIA V5 Programmierung : Papiergöße ermitteln
imation1999 am 08.06.2016 um 12:29 Uhr (1)
Hallo,oSheet = CATIA.ActiveDocument.sheets.ActiveSheetsonst:oSheet.PaperName gibt dir direkt: A0 ISO, ...etc

In das Form CATIA V5 Programmierung wechseln
CATIA V5 Programmierung : Formeln und Regeln in Catia V5 schützen
imation1999 am 27.11.2015 um 11:03 Uhr (1)
Zitat:Warum erscheint bei mir unter dem Menü Knowledge Templates nur die Punkte "Powercopy" und "Save in Catalog"?Hast Du PKT Lizenz zu Verfügung?

In das Form CATIA V5 Programmierung wechseln
CATIA V5 Infrastruktur : CATIA V5 Minimal-Installation
imation1999 am 02.09.2020 um 12:43 Uhr (1)
Hallo Zusammen,kann man irgendwo nachschauen, welche Module waren bei der Installation angeklickt? Danke im voraus!

In das Form CATIA V5 Infrastruktur wechseln
CATIA V5 Programmierung : Copy Bodys im Produkt
imation1999 am 07.01.2022 um 07:01 Uhr (1)
Hallo Uwe,bei mir läuft das Makro problemlos. Wenn ich die Quellparts verschiebe, gehen die Bodys im Zielpart auch mit. Kannst du mal bitte einen Screenshot von deinen CATIA-Baum posten?

In das Form CATIA V5 Programmierung wechseln
CATIA V5 Programmierung : Paramter in Konstruktionstabelle exportieren
imation1999 am 16.10.2013 um 13:31 Uhr (1)
Hallo,während KTab.AddAssociation Laenge, "Laenge" darf nicht deine Excel Tabelle auf sein.Das heißt, du mußt erst zumachenCode:oExcel.QuitSet oExcel = Nothingdann Code:KTab.AddAssociation Laenge, "Laenge"[Diese Nachricht wurde von imation1999 am 16. Okt. 2013 editiert.]

In das Form CATIA V5 Programmierung wechseln
CATIA V5 Programmierung : Beim Fehler die Richtung austauschen
imation1999 am 30.06.2013 um 19:30 Uhr (0)
Hallo Uwe,vielen Dank für Deine Mühe.Könntest Du bitte ein Screeshot über Rule editor und über "tree" auch posten?Ich habe CATIA nur im Büro, aber bin sehr-sehr neugierig.

In das Form CATIA V5 Programmierung wechseln

Anzeige:

Anzeige: (Infos zum Werbeplatz)

Ergebnisseiten :  1   2   3   4   5 

Alle Produkt-, Schrift-, Firmennamen und Logos sind Warenzeichen oder eingetr. Warenzeichen der jeweiligen Firmen.
©2026 CAD.de , Lenggries. Tel: ++49 (8042) 973 8208 | Datenschutz