Draw line as mouse moves

Draw line as mouse moves

Anonymous
Not applicable
536 Views
2 Replies
Message 1 of 3

Draw line as mouse moves

Anonymous
Not applicable

Hi,

In AutoCAD API there is PromptforDistance command which draw a dashed line as mouse moves to pick up second point. Is there a similar command in Revit?

 

If not, I was thinking of one thing where program prompts to pick a start point and end point, but when user is selecting the second point the program should draw a line from start point to the location of cursor which will help in visualization (just like drawing a line normally). Is there any way I can do that in Revit API?

 

 

Line Draw.png

0 Likes
537 Views
2 Replies
Replies (2)
Message 2 of 3

jeremytammik
Autodesk
Autodesk

I am not aware of any such possibility. Sorry. 

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 3 of 3

Anonymous
Not applicable

thanks

0 Likes