TheSwamp

Code Red => .NET => Topic started by: cannorth on April 24, 2014, 02:51:13 PM

Title: Translate from model space to paper space without using COM code
Post by: cannorth on April 24, 2014, 02:51:13 PM
Hello,

  I'd like to know if there's code for this:

                vPtMs = CType(ThisDrawing.ActiveDocument.Utility.TranslateCoordinates(CType(vPt, Object), AutoCAD.Interop.Common.AcCoordinateSystem.acDisplayDCS, Autodesk.AutoCAD.Interop.Common.AcCoordinateSystem.acPaperSpaceDCS, 0), Object)


In VB.Net ObjectARX.

Thanks,

cannorth
Title: Re: Translate from model space to paper space without using COM code
Post by: Kerry on April 24, 2014, 05:09:14 PM

http://www.theswamp.org/index.php?topic=21568.msg262526#msg262526

Title: Re: Translate from model space to paper space without using COM code
Post by: Kerry on April 24, 2014, 05:24:20 PM

And a little more recent
http://help.autodesk.com/view/ACD/2015/ENU/?guid=GUID-0EFA65CC-C1AB-4B99-8159-C31602C1A5E8
Title: Re: Translate from model space to paper space without using COM code
Post by: cannorth on April 25, 2014, 11:48:44 AM
What's the DLLImport statement and parameters for acedTrans?

Thanks

cannorth
Title: Re: Translate from model space to paper space without using COM code
Post by: Kerry on April 26, 2014, 08:51:55 AM
What's the DLLImport statement and parameters for acedTrans?

Thanks

cannorth

I assume you didn't read the thread I listed ??