.NET

Reply
Contributor
v_shanmugasundaram
Posts: 11
Registered: ‎08-18-2005
Message 1 of 7 (286 Views)

HandleToObject

286 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
Message 2 of 7 (286 Views)

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
v_shanmugasundaram
Posts: 11
Registered: ‎08-18-2005
Message 3 of 7 (286 Views)

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
Message 4 of 7 (286 Views)

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
wesbird
Posts: 351
Registered: ‎12-05-2003
Message 5 of 7 (286 Views)

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
*Tony Tanzillo
Message 6 of 7 (286 Views)

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
wesbird
Posts: 351
Registered: ‎12-05-2003
Message 7 of 7 (286 Views)

Re: HandleToObject

09-29-2005 12:29 PM in reply to: v_shanmugasundaram
thank you
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.