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

SetFocusToDwgView() in autcad2013

4 REPLIES 4
Reply
Message 1 of 5
hoathuongphuoc
419 Views, 4 Replies

SetFocusToDwgView() in autcad2013

Hi all,

I have some problem related to autocad 2013. So. I wonder if in autocad.net have SetFocusToDwgView(). I search a lot of in internet but don't see it. Thank very much.

4 REPLIES 4
Message 2 of 5
Hallex
in reply to: hoathuongphuoc

Try

acDoc.Window.Focus();

instead
_____________________________________
C6309D9E0751D165D0934D0621DFF27919
Message 3 of 5

I have tried but don't have. another way.

Message 4 of 5
_gile
in reply to: hoathuongphuoc

Hi,

 

AutoCAD .NET does have SetFocusToDwgView().

 

As it is part of the Autodesk.AutoCAD.Internal namespace, it is undocumented, but you can find it in the Visual Studio Objects Explorer window or using a .NET assembly browser/decompiler as ILSpy or Reflector.



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

Message 5 of 5
hoathuongphuoc
in reply to: _gile

I use Visual studio and i use language vb.net. But your suggestion don't have library for my project. It's only tool program. I'm so sorry.

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