0 Members and 1 Guest are viewing this topic.
Below code shows the procedure to set the UCS TO WCS.Code - vb.net: [Select] <CommandMethod("restoreWCS")> _ Public Sub restoreWCS() Dim doc As Document = _ Application.DocumentManager.MdiActiveDocument Dim ed As Editor = doc.Editor ed.CurrentUserCoordinateSystem = Matrix3d.Identity ed.Regen() End Sub
This worked for me, thanks.