|
CATIA V5 Programmierung : Filename wie Partnumber ohne 3 lezter
xyon126 am 23.08.2012 um 16:48 Uhr (0)
Hallo Bernd! Vielen Dank für deine Hilfe ich habe die Fehler bekommt und jetzt funzioniert Gutt ich sende der Code ob jemand braucht auch.Vielen Dank.Code GUT:Sub CATMain() On Error GoTo 0 Dim oRoot As Document Set oRoot = CATIA.ActiveDocument Dim oProduct As Product Set oProduct = oRoot.Product Dim oProducts As Products Set oProducts = oProduct.Products Dim strOldName As String Dim strNewName As String strOldName = oRoot.Name strNewName = Left(strOldName, len(strOldName) - len(".CA ...
| | In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Filename wie Partnumber ohne 3 lezter
xyon126 am 23.08.2012 um 13:48 Uhr (0)
Hallo! Ich versuche, eine rekursive Makro benenne ich alle ein Produkt partNumber seinem Dateiname zu machen, sondern die Beseitigung der letzten 4 Zeichen, aber mach mich nicht falsch auf dieser LiniestrNewName = Replace(strOldName, ".CATProduct", "")strNewName2 = Right(strNewName.Name, 15) ..... Können Sie mir helfen?Das ist code komplet:Option ExplicitSub CATMain() On Error GoTo 0 Dim oRoot As Document Set oRoot = CATIA.ActiveDocument Dim oProduct As Product Set oProduct = oRoot.Product ...
| | In das Form CATIA V5 Programmierung wechseln |
|
Anzeige:
Anzeige: (Infos zum Werbeplatz)
 |