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

HandleToObject

6 REPLIES 6
Reply
Message 1 of 7
v_shanmugasundaram
583 Views, 6 Replies

HandleToObject

Hello All,
can any body knows , how to use HandleToObject method in .Net API ?

Thanks in advance.
6 REPLIES 6
Message 2 of 7
Anonymous
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.
Message 3 of 7

i am looking for similar/equivalent method of HandletoObject in the .NET API?
Message 4 of 7
Anonymous
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?
Message 5 of 7

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
Windows 10 64 bit, AutoCAD (ACA, Map) 2023
Message 6 of 7
Anonymous
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
Message 7 of 7

thank you
Windows 10 64 bit, AutoCAD (ACA, Map) 2023

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