catia_user
Computer
- Jan 20, 2025
- 3
Hi all
In this code i get error that InserVariable is not recognised, has anyone used "InserVariable" and did the code work ? in Catiascript ?
For i = 1 To annotationSet.Annotations.Count
Set note = annotationSet.Annotations.Item(i)
noteName = note.Name
If InStr(noteName, "notes1") > 0 Then
MsgBox "note " & noteName
note.InsertVariable 26, 0, "test\test\notes1" ' Link note to parameter "parameter1"
Endif
....
In this code i get error that InserVariable is not recognised, has anyone used "InserVariable" and did the code work ? in Catiascript ?
For i = 1 To annotationSet.Annotations.Count
Set note = annotationSet.Annotations.Item(i)
noteName = note.Name
If InStr(noteName, "notes1") > 0 Then
MsgBox "note " & noteName
note.InsertVariable 26, 0, "test\test\notes1" ' Link note to parameter "parameter1"
Endif
....