.NET

Reply
Contributor
joshua.prettyman
Posts: 14
Registered: ‎01-26-2012
Message 1 of 3 (232 Views)
Accepted Solution

Temporary Line

232 Views, 2 Replies
03-13-2012 06:40 PM

I'm working on a little command that would be really nice to have a temporary line drawn between some points while you're picking them.  Something akin to the little line that's drawn in the Measure Distance command.  The thing is, I don't really know what this is... can anybody point me in the right direction?

Valued Mentor
KerryBrown
Posts: 269
Registered: ‎11-29-2008
Message 2 of 3 (225 Views)

Re: Temporary Line

03-13-2012 07:50 PM in reply to: joshua.prettyman

 

If I understand correctly you want a rubberband line whwn selecting the second point.

 

In the PromptPointOptions set

 .UseBasePoint = true;

 .BasePoint = firstPoint;

 

 

see if that helps.

Regards

 

//-------------------------------------------------------

class keyThumper<T> : Lazy<T>;      another  Swamper

Contributor
joshua.prettyman
Posts: 14
Registered: ‎01-26-2012
Message 3 of 3 (178 Views)

Re: Temporary Line

03-22-2012 10:11 AM in reply to: KerryBrown

Sorry for the wait, I thought I'd checked this but apparently it didn't catch.  That solution was exactly what I was looking for, thanks.

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.