XData problem

XData problem

Anonymous
Not applicable
579 Views
2 Replies
Message 1 of 3

XData problem

Anonymous
Not applicable
Hi,

I want to know whether a particular application name is registered in the Autocad or not ? I am adding XData application by following, But before this I want to check if application name is already registered or not ?
-------------------------------------------------------------
Dim tbl As RegAppTable = CType(myT.GetObject(db.RegAppTableId, OpenMode.ForWrite, False), RegAppTable)
tbl.add("ASD")
tm.AddNewlyCreatedDBObject(App, True)
------------------------------------------------------------

I am using VB.Net and ObjectARX2006 on AutoCAD map 3D 2006.

Please help me.

Regards,
Alankar
0 Likes
580 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
not sure about VB but in C#

tbl.Has("ASD")

Laurence
wrote in message news:5027523@discussion.autodesk.com...
Hi,

I want to know whether a particular application name is registered in the
Autocad or not ? I am adding XData application by following, But before this
I want to check if application name is already registered or not ?
-------------------------------------------------------------
Dim tbl As RegAppTable = CType(myT.GetObject(db.RegAppTableId,
OpenMode.ForWrite, False), RegAppTable)
tbl.add("ASD")
tm.AddNewlyCreatedDBObject(App, True)
------------------------------------------------------------

I am using VB.Net and ObjectARX2006 on AutoCAD map 3D 2006.

Please help me.

Regards,
Alankar
0 Likes
Message 3 of 3

Anonymous
Not applicable
Thanks a lot Laurence,

This function also available in VB and when I used it my problem is solved.

Thanks again.

Alankar
0 Likes