.NET

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

HandleToObject

273 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 (273 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
Posts: 11
Registered: ‎08-18-2005
Message 3 of 7 (273 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 (273 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: 304
Registered: ‎12-05-2003
Message 5 of 7 (273 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 (273 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: 304
Registered: ‎12-05-2003
Message 7 of 7 (273 Views)

Re: HandleToObject

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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community