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

Yet another issue translating from VBA to VB.NET. GetSubEntity

2 REPLIES 2
Reply
Message 1 of 3
iwtblj
539 Views, 2 Replies

Yet another issue translating from VBA to VB.NET. GetSubEntity

I can't anywhere on migrating a vba ACADUtililtyClass.getsubentity. I've looked through the object browser, and while a few methods have the same name, none of them, so far as I can tell, give me all the data that the VBA function does, such as a translation matrix and context. Nothing in the PromptEntityOptions class has what I'm looking for. Is there a way to get the same data in VB.NET that I would from a ACADUtililtyClass.getsubentity in VBA?
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: iwtblj

Look at the Editor's GetNestedEntity() method,
the PromptNestedEntityOptions class, and the
PromptNestedEntityResult class.

The above provides everything you can get from
the ActiveX GetSubEntity() method, and more.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010

http://www.acadxtabs.com

Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");

wrote in message news:6288790@discussion.autodesk.com...
I can't anywhere on migrating a vba ACADUtililtyClass.getsubentity. I've
looked through the object browser, and while a few methods have the same
name, none of them, so far as I can tell, give me all the data that the VBA
function does, such as a translation matrix and context. Nothing in the
PromptEntityOptions class has what I'm looking for. Is there a way to get
the same data in VB.NET that I would from a ACADUtililtyClass.getsubentity
in VBA?
Message 3 of 3
iwtblj
in reply to: iwtblj

Thank you. That was just what I needed

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