.NET

Reply
Contributor
11 Posts
0 Kudos
Registered: ‎08-18-2005
Post 1 of 7

HandleToObject

290 Views, 6 Replies
09-14-2005 03:10 AM
Hello All,
can any body knows , how to use HandleToObject method in .Net API ?

Thanks in advance.
*Albert Szilvasy
Post 2 of 7

Re: HandleToObject

09-16-2005 03:43 PM in reply to: v_shanmugasundaram
I'm not sure what you mean. Do you want to use this COM API from a .NET
language or are you looking fore a similar/equivalent method in the .NET
API?

Albert

wrote in message
news:4955666@discussion.autodesk.com...
Hello All,
can any body knows , how to use HandleToObject method in .Net API ?

Thanks in advance.
Contributor
11 Posts
0 Kudos
Registered: ‎08-18-2005
Post 3 of 7

Re: HandleToObject

09-19-2005 04:10 AM in reply to: v_shanmugasundaram
i am looking for similar/equivalent method of HandletoObject in the .NET API?
*Albert Szilvasy
Post 4 of 7

Re: HandleToObject

09-19-2005 08:59 PM in reply to: v_shanmugasundaram
Database.GetObjectId()

wrote in message
news:4959993@discussion.autodesk.com...
i am looking for similar/equivalent method of HandletoObject in the .NET
API?
Distinguished Contributor
367 Posts
0 Kudos
Registered: ‎12-05-2003
Post 5 of 7

Re: HandleToObject

09-29-2005 09:41 AM in reply to: v_shanmugasundaram
HI Albert:
from help file, GetObjectId required a Autodesk.AutoCAD.DatabaseServices.Handle object as parameter. How I can create a Handle object from a string? Do you have any sample code?


Thank you
Wes
Vault Pro 2014, Windows 7 64 bit, AutoCAD (ACA, Map) 2014
*Tony Tanzillo
Post 6 of 7

Re: HandleToObject

09-29-2005 11:44 AM in reply to: v_shanmugasundaram
Handle HandleFromString(string hexstr)
{
return new Handle(Int64.Parse(hexstr, NumberStyles.HexNumber));
}

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

wrote in message news:4970859@discussion.autodesk.com...
HI Albert:
from help file, GetObjectId required a Autodesk.AutoCAD.DatabaseServices.Handle object as parameter. How I can create a Handle object from a string? Do you have any sample code?


Thank you
Wes
Distinguished Contributor
367 Posts
0 Kudos
Registered: ‎12-05-2003
Post 7 of 7

Re: HandleToObject

09-29-2005 12:29 PM in reply to: v_shanmugasundaram
thank you
Vault Pro 2014, Windows 7 64 bit, AutoCAD (ACA, Map) 2014
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post