Anuncios
Welcome to the Revit Ideas Board! Before posting, please read the helpful tips here. Thank you for your Ideas!
Comentario
Anonymous

To continue on what Håvard writes we (Symetri) have used "UI.Selection.PickPoint" to pick 2 points. Then we used the picked points to draw a line (or electrical wire) between those points. It would be really nice if we could have the API extended so that "PickPoint" could use an optional "starting point" parameter (type XYZ) and display a rubberband from this starting point (visually it would look very much like when you use the ordinary line-tool in Revit).

We saw that there also is a similar suggestion in another post on the address below:
https://forums.autodesk.com/t5/revit-ideas/prompt-user-to-draw-a-line-from-the-api/idi-p/8171807
(The description of "phantom line" is probably what we have called "rubberband".)