.NET

Reply
*Maksim Sestic
Message 1 of 3 (94 Views)

AcDbHostApplicationProgressMeter Class using .NET?

94 Views, 2 Replies
08-12-2005 08:41 AM

Is there
title="AcDbHostApplicationProgressMeter Class">AcDbHostApplicationProgressMeter
Class
 exposed via managed ObjectARX? If not, what's the method
for displaying and working with ACAD's native progress bar (found inside
StatusBar) in ObjectARX 2005?

 

Regards,

Maksim Sestic
*Albert Szilvasy
Message 2 of 3 (94 Views)

Re: AcDbHostApplicationProgressMeter Class using .NET?

08-28-2005 05:25 PM in reply to: *Maksim Sestic

This class isn't currently exposed via .NET
API. Unfortunately, you will need to use P/Invoke interop to call the C++
APIs directly.

 

Albert


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">


Is there
title="AcDbHostApplicationProgressMeter Class">AcDbHostApplicationProgressMeter
Class
 exposed via managed ObjectARX? If not, what's the
method for displaying and working with ACAD's native progress bar (found
inside StatusBar) in ObjectARX 2005?

 

Regards,

Maksim
Sestic
*Maksim Sestic
Message 3 of 3 (94 Views)

Re: AcDbHostApplicationProgressMeter Class using .NET?

09-02-2005 02:21 AM in reply to: *Maksim Sestic

Hi Albert,

 

I'm new to .NET and still don't know how to use
P/Invoke interop to gain access to C++ object (class). I browsed the ADN
KnowledgeBase for examples and found one on P/Invoking an acad.exe function via
Declare Auto Function..., but I guess it's not enough for
AcDbHostApplicationProgressMeter class and it's functions.

 

How to fetch the object via P/Invoke and
derive a new one from it? Will I be able to get it's methods too in a way to
override them in a standard .NET fashion?

 

Regards,

Maksim Sestic


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">


This class isn't currently exposed via .NET
API. Unfortunately, you will need to use P/Invoke interop to call the C++
APIs directly.

 

Albert


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">


Is there
title="AcDbHostApplicationProgressMeter Class">AcDbHostApplicationProgressMeter
Class
 exposed via managed ObjectARX? If not, what's the
method for displaying and working with ACAD's native progress bar (found
inside StatusBar) in ObjectARX 2005?

 

Regards,

Maksim
Sestic
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.