.NET

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

Temporary Line

240 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?

 

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

 

Valued Mentor
KerryBrown
Posts: 272
Registered: ‎11-29-2008
Message 2 of 3 (233 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 (186 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.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

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