.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

XData problem

2 REPLIES 2
Reply
Message 1 of 3
alankar
300 Views, 2 Replies

XData problem

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
2 REPLIES 2
Message 2 of 3
Anonymous
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
Message 3 of 3
alankar
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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost