If you call the Editor's GetPoint() method and specify
a Basepoint (via PromptPointOptions), then it will draw
a rubber-band line from the specified basepoint to the
cursor.
As far as the task of emulating the PLINE command,
with custom prompts, that's fairly involved (assuming
you want to support options like 'undo' of segments
and so forth, as you probably should).
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com
wrote in message news:5578271@discussion.autodesk.com...
Apologies if this question was ask and anwered prevoiusly.
I'm busy writing something for ACAD 2007 using .NET 2005 express.
I'm still battling to decide which language to use. I know more about VB ,
but C# seems to be the language of choice for most peolpe.
I need code code to draw a polyline.
The part where the program prompts you for a start and end point I want to
replace with my own text.
This is my problem.
I want the program to start drawing the polyline before it ask you for the
end point.Almost like the build in line command in acad
Thanks in advance.