|
CATIA V5 Programmierung : Distanz Messung im Product mit Measurable
janitza am 05.11.2003 um 15:10 Uhr (0)
Hallo, ich weiß, dass dieses Thema schon mehrfach im Forum aufgetaucht ist. Nehmt euch bitte trotzdem kurz Zeit da es diese Fragestellung bisher nicht gab. Ich möchte die kürzeste Entfernung zwischen zwei Flächen von zwei VERSCHIEDENEN Baugruppen innerhalb eines Produktes messen. Dazu verwende ich folgenden code: Dim partdocument1 As Object Set catia = GetObject(, "catia.application") Set partdocument1 = catia.ActiveDocument Dim InputObjectType(1) Dim ref1 As Reference ...
| | In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Aktuellen offenen Körper deklarieren
janitza am 29.07.2005 um 09:59 Uhr (0)
Hallo, versuchs mal damit: o Property InWorkObject( ) As CATIABase Returns or sets the in work object of the part. The in work object is the object after which a new object is added. Example: Set partRoot = partDoc.Part Set partRoot.InWorkObject = cylindricPad If ( partRoot.InWorkObject cylindricPad ) Then MsgBox "There is a big problem" End If Einfach über alle Elemente scannen und gucken was gerade InWorkObject ist. Grüße dj
| | In das Form CATIA V5 Programmierung wechseln |
|
Anzeige:
Anzeige: (Infos zum Werbeplatz)
 |