.NET

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

XData problem

101 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 (101 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 (101 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
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.