0 Members and 1 Guest are viewing this topic.
I would like to show feet and inches in the DefaultValue for ed.GetDistance. I see there is a GetDefaultValueString but it is protected so I can't figure out how to use it.
Document doc = acadApp.DocumentManager.MdiActiveDocument;Editor ed = doc.Editor;PromptDistanceOptions distPrmt = new PromptDistanceOptions("");distPrmt.Message = "\nOffset distance: ";distPrmt.DefaultValue = 96.0;PromptDoubleResult offDist = ed.GetDistance(distPrmt);if (offDist.Status != PromptStatus.OK) return;
Offset distance <8'-0">: