Author Topic: Setting UCS back to original UCS from World in AutoCAD COM code  (Read 1695 times)

0 Members and 1 Guest are viewing this topic.

cannorth

  • Guest
Hi,

  What's the best way to set the original UCS to World again?

Thanks,

cannorth
« Last Edit: May 02, 2014, 12:19:45 PM by cannorth »

Bethrine

  • Guest
Re: Setting UCS back to original UCS from World in AutoCAD COM code
« Reply #1 on: May 02, 2014, 01:11:34 PM »
Piccy:

Keith Brown

  • Swamp Rat
  • Posts: 601
Re: Setting UCS back to original UCS from World in AutoCAD COM code
« Reply #2 on: May 02, 2014, 01:14:21 PM »
Not sure if it is the best but would definately be in the running for the easiest.


Code - C#: [Select]
  1. Application.DocumentManager.MdiActiveDocument.Editor.CurrentUserCoordinateSystem = Matrix3d.Identity;






Keith Brown | AutoCAD MEP Blog | RSS Feed
AutoCAD MEP 2014 / Revit MEP 2014 / EastCoast CAD/CAM addon / Visual Studio 2013