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

AcDbHostApplicationProgressMeter Class using .NET?

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
251 Views, 2 Replies

AcDbHostApplicationProgressMeter Class using .NET?


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
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous


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
Message 3 of 3
Anonymous
in reply to: Anonymous


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

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