AutoCAD 2011 VBA Error: Invalid argument Tag in setting TagString

AutoCAD 2011 VBA Error: Invalid argument Tag in setting TagString

Anonymous
Not applicable
2,043 Views
1 Reply
Message 1 of 2

AutoCAD 2011 VBA Error: Invalid argument Tag in setting TagString

Anonymous
Not applicable

Hi,

 

We are receving error on our VBA program under AutoCAD2011 "Invalid argument Tag in setting TagString" when writing tag string.

 

Our lagazy program used to store some data on a hidden layer as tag string. Now the new VBA is not accepting those lines.

Is it a bug or there is any workaround for this.

It was working without any trouble for  AutoCAD 2005-2010 versions.

Example code:-

 

Call ThisDrawing.ModelSpace.AddAttribute(2, acAttributeModeInvisible, "oNotes" + Chr(64 + i), InsertionPoint, Me.lsbXnotes.list(i - 1), "")

 

Thanks in Adv.

Regards,

Shijith

2,044 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

I have the same problem but only with version 2011

0 Likes