AcDbHostApplicationProgressMeter Class using .NET?

AcDbHostApplicationProgressMeter Class using .NET?

Anonymous
Not applicable
522 Views
2 Replies
Message 1 of 3

AcDbHostApplicationProgressMeter Class using .NET?

Anonymous
Not applicable

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
0 Likes
523 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable

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
0 Likes
Message 3 of 3

Anonymous
Not applicable

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
0 Likes