|
CATIA V5 Programmierung : Position.GetComponents - Funktion
Laute am 23.07.2003 um 14:47 Uhr (0)
Hallo nochmals, hab die Sache ein bisschen abgeändertund jetzt bekomm ich eine Fehlermeldung Function marked as restricted or automation type not used in vb - ?? was hat das zu bedeuten? Dim oPart As PartDocument Dim oRoot As Product Set oPart = CATIA.ActiveDocument.Selection.Item(1) Set oRoot = oPart.Product Dim oPosition As Position Set oPosition = oRoot.Position Dim dPosition(11) oPosition.GetComponents dPosition For I = 0 To 5 MsgBox Num ...
| | In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Position.GetComponents - Funktion
Laute am 25.07.2003 um 10:20 Uhr (0)
Hallo Steffen, danke für die ausfürhliche Antwort. Hab s aber leider nicht hinbekommen! Der beigefügte Code verursacht eine Endlosschleife. Beim Debug wir mir die SendKeys Anweisung gehighlightet oder eine Meldung SelectElement/Item(1) - schlug fehl . Ich klick auf meinen Button - wähle ein Element aus - Endlosschleife/oder garnichts passiert. Dim oSel Set oSel = CATIA.ActiveDocument.Selection oSel.Clear Dim sFilter(3) sFilter(0) = Plane sFilter(1) = Sketch ...
| | In das Form CATIA V5 Programmierung wechseln |
|
Anzeige:
Anzeige: (Infos zum Werbeplatz)
 |