|
CATIA V5 Programmierung : Translate
Bertel am 14.03.2007 um 13:58 Uhr (0)
Hallo L_C,packe doch alle zu verschiebenden Elemente in eine Selection,dann kannst Du das Verschieben in einer Schleife machen.Beispiel für selection: selection.Search "Name:Linie*+Name:Kreis*" sucht alle Linien und Kreise For i = 1 to selection.count text = selection.item(i).Value.Name textneu = "neu_"+text selection.item(i).Value.Name = textneu NextGrußBertel
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Selektion auf Baum beschränken
Bertel am 26.05.2010 um 15:33 Uhr (0)
Hallo Hannes12,z.B. so:Code: Dim auswahl As VisProperties Set auswahl = Selection.VisProperties Selection.Clear Selection.Search "Name:Elementname" auswahl.SetPick catVisPropertyNoPickAttr GrußBertel
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Drawing Component löschen
Bertel am 02.07.2007 um 17:02 Uhr (0)
Hallo CatiaV5User,hier ein Auszug aus einem Makro, welches bei mir funktioniert: TargetComponent1.Explode Set oSelection = DrawingDocument1.Selection Clear the selection oSelection.Clear Add the Object to be deleted in the selection oSelection.Add TargetComponent1 oSelection.DeleteGrußBertel
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Unfolded View von Wall.1 aus 3D mit Makro erstellen?
Bertel am 08.01.2008 um 12:49 Uhr (0)
Hallo uli79,probier mal das: Dim Part As CATBstr Part = CATIA.FileSelectionBox("CATPart auswaehlen","*.CATPart",CatFileSelectionModeOpen) Set PartDocument = Catia.Documents.Read(Part)GrußBertel
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : selektierte Elemente aus Schreibtisch in Selektion
Bertel am 12.05.2009 um 11:42 Uhr (0)
Hallo,wie kann ich alle selektierten Elemente im Schreibtisch in eine Selection bekommen?Ist es überhaupt möglich, Schreibtischelemente anzusprechen?Danke für evtl. Hilfe.GrußBertel
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Parameter an Drawing übergeben
Bertel am 27.02.2006 um 16:42 Uhr (0)
Hallo McByte,1. Text in Drawing doppelklicken2. nicht in Texteditorfenster, sondern auf Text-rechte Maustaste-Attributverknüpfung wählen3. in Part wechseln - dort oberstes Element im Baum anwählen4. nun landest du wieder in der Drawing5. aus der Attributliste den gewünschten Parameter suchen (z.B. Teilenummer - selektieren - ok - ok6. Fertigoder schau mal da: http://ww3.cad.de/foren/ubb/Forum134/HTML/001377.shtml#000004 GrußBertel
|
| In das Form CATIA V5 Programmierung wechseln |