.NET

Reply
Active Contributor
alankar
Posts: 41
Registered: ‎11-04-2004
Message 1 of 3 (100 Views)

XData problem

100 Views, 2 Replies
12-02-2005 04:27 AM
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
*Laurence Skoropinski
Message 2 of 3 (100 Views)

Re: XData problem

12-02-2005 04:49 AM in reply to: alankar
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
Active Contributor
alankar
Posts: 41
Registered: ‎11-04-2004
Message 3 of 3 (100 Views)

Re: XData problem

12-02-2005 04:55 AM in reply to: alankar
Thanks a lot Laurence,

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

Thanks again.

Alankar
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!