|
Community : Suche nach Systemvariable für Ansichtsfenster...
DanielFr. am 26.08.2009 um 13:29 Uhr (0)
Hallo,ähm in welcher Software den überhaupt? Ich glaub du bist im falschen Board ------------------MFG DanielSysteminformation | Inoffizielle CATIA Hilfeseite | CATIA FAQ | Suche | TraceParts (Normteile...) | 3D Content Central (noch mehr Normteile...)
|
In das Form Community wechseln |
|
CATIA V5 Programmierung : Ansicht per Makro ändern
DanielFr. am 17.07.2009 um 20:27 Uhr (1)
Hallo Marc,woher bekommst du das Element? Ist das ein Script-Input oder soll der Anwender eine Plane selektieren? Ein paar mehr Infos wären hilfreich An den Befehl "normal View" kommst du nur über einen CATIA.StartCommand. Hier kannst du aber keine Input-Elemente angeben. D.h. ev. wäre es sinnvoller die "named Views" zu verwenden------------------MFG DanielDie KATJA ist halt doch nur ne zickige Französin
|
In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Ansicht per Makro ändern
DanielFr. am 18.07.2009 um 11:14 Uhr (1)
Hallo Marc,also um das von Bernd mal zu verdeutlichen hier ein kleines Script, das dir dein Bauteil auf die "Top View" ausrichtet und anschließend einen Reframe macht.Code:Sub CATMain() Dim oDoc As Document Dim oCams As Cameras Dim oCam As Camera3D Dim oViewPoint As Viewpoint3D Dim oSpecWindow As SpecsAndGeomWindow Dim oViewer As Viewer3D Set oDoc = CATIA.ActiveDocument Set oCams = oDoc.Cameras Set oCam = oCams.Item(6) Set oViewPoint = oCam.Viewpoint3D Set oSpecWindow = CATIA.ActiveWindow Set ...
|
In das Form CATIA V5 Programmierung wechseln |