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

TextScr in 2016 reference has changed

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
michael.mouzakitis
392 Views, 2 Replies

TextScr in 2016 reference has changed

I have the following code that works in 2014,2015 but doesn't work in 2016:

Autodesk.AutoCAD.Internal.Utils.TextScr()

 

In 2016 I get the following error:

'TextScr' is not a member of 'Autodesk.AutoCAD.Internal.Utils'.

What dll reference would I have to add to my project to get this to work or which namespace would I find this method in.

 

Thank you in advance.

Michael

2 REPLIES 2
Message 2 of 3
_gile
in reply to: michael.mouzakitis

Hi,

 

The TextScr() method (as the GraphScr() and WcMatch() ones) have been moved to the CoreUtils class defined in AcCoreMgd.dll.

 

Try like this:

 

Autodesk.AutoCAD.Internal.CoreUtils.TextScr();

 



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

Message 3 of 3
michael.mouzakitis
in reply to: _gile

Thank you, that worked.

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