Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I am insert X Y into mtext how can I format X and Y 174.322867928177
Regards
Sgear
Dim acDoc As Document = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument Dim acCurDb As Database = acDoc.Database Dim pPtRes As PromptPointResult Dim pPtOpts As PromptPointOptions = New PromptPointOptions("") '' Prompt for the start point pPtOpts.Message = vbLf & "Select point: " pPtRes = acDoc.Editor.GetPoint(pPtOpts) ' Dim ptStart As Point3d = pPtRes.Value Dim start_point As Point3d = pPtRes.Value Insert_mtext(start_point.X.ToString + ", " + start_point.Y.ToString, New Point3d(start_point.X, start_point.Y, 0))
Solved! Go to Solution.