|
CATIA V5 Programmierung : kurze Frage zu vba
CATLama am 24.07.2008 um 15:13 Uhr (0)
Hallo,ist eine Moglichkeit das catvba Makro von Microsoft Visual Basic script rufen?Ich habe code-------------Sub Main() Dim CATIA As Object Set CATIA = GetObject(, "CATIA.Application") Dim SServ As Object Set SServ = CATIA.SystemService Dim Params() LibPath = "C:ScriptsMacro.catvba" ScriptName = "Module1" FunctionName = "CATMain" Call SServ.ExecuteScript(LibPath, catScriptLibraryTypeVBAProject, ScriptName, FunctionName, Params)End Sub---------------aber das Ergebnis is die Meldung: Unknown macro ...
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : GetPointsOnCurve - Unterschied zwischen 32bit und 64bit
CATLama am 05.10.2010 um 08:22 Uhr (0)
Hallo,dieser Code funktioniert auf 32bit WinXPprof. Coord() enthalt Coordinates der Punkten von Spline.1. Auf 64bit WinXP bleibt coord() leer ... , kein Fehler ist gemeldet. Wo ist ein Problem? Catia V5 R18 SP8Sub CATMain()Dim i, count1 As IntegerDim coord(8)Dim reference1 As ReferenceDim workbench1 As WorkbenchDim measureable1 As ObjectDim shape1 As HybridShapeDim part1 As ObjectSet part1 = CATIA.ActiveDocument.PartSet workbench1 = CATIA.ActiveDocument.GetWorkbench("SPAWorkbench")count1 = part1.HybridBodi ...
| In das Form CATIA V5 Programmierung wechseln |
|
Anzeige:
Anzeige: (Infos zum Werbeplatz)
 |