Author Topic: Translate from model space to paper space without using COM code  (Read 2644 times)

0 Members and 1 Guest are viewing this topic.

cannorth

  • Guest
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

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

cannorth

  • Guest
Re: Translate from model space to paper space without using COM code
« Reply #3 on: April 25, 2014, 11:48:44 AM »
What's the DLLImport statement and parameters for acedTrans?

Thanks

cannorth

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Translate from model space to paper space without using COM code
« Reply #4 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 ??
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.