How to create Rubber band line in Revit API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I have seen an option available to create a rubber band line in AutoCAD API development.
As an Example:
PromptPointOptions pPtops1 = new PromptPointOptions("");
// Prompt for the first point
pPtops1.Message = "\nSpecify first point : ";
pPtRes1 = acDoc.Editor.GetPoint(pPtops1);
pPtops1.Message = "\nSpecify second point : ";
// Use the previous point as the base point
pPtops1.UseBasePoint = true;
pPtops1.BasePoint = pPtRes1.Value;
pPtRes2 = acDoc.Editor.GetPoint(pPtops1);
Point3d pnt2 = pPtRes2.Value;
Since the first point can used as a base point with asking for the second point.
Can any one help. how it can by imply in Revit API development ?
Thanks in advance.