Hello,
I need to rename a Hole feature with VBScript!
So far I can rename everything else (sketchs, points, curves, open bodies, bodies etc.) but features such as pads and holes I can not. In general the script looks like this:
Dim hole1 As Shapes
Set hole1 = shapes1.Item(Hole.1)
hole1.Name = "TEST"
The script editor does not except hole1.Name = "TEST"
I am also able to see the name:
MsgBox "NAME = " & hole1.Name
but I can't rename it!!!
Any ideas?
Chris
I need to rename a Hole feature with VBScript!
So far I can rename everything else (sketchs, points, curves, open bodies, bodies etc.) but features such as pads and holes I can not. In general the script looks like this:
Dim hole1 As Shapes
Set hole1 = shapes1.Item(Hole.1)
hole1.Name = "TEST"
The script editor does not except hole1.Name = "TEST"
I am also able to see the name:
MsgBox "NAME = " & hole1.Name
but I can't rename it!!!
Any ideas?
Chris