.NET

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

AcDbHostApplicationProgressMeter Class using .NET?

88 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 (88 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 (88 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

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
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

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

Ask the Community