.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to show a selection polygon/fence?

1 REPLY 1
Reply
Message 1 of 2
ltmullen
451 Views, 1 Reply

How to show a selection polygon/fence?

I was wondering whether there was an easy way to show the user the polygon/fence they are creating when Editor.SelectXX is called by indicating it with a dashed line and coloring the area with a semitransparent fill, kind of like when you use the AREA command or when you click somewhere and AutoCAD shows you the selection window you're creating?

 

Any thoughts?

1 REPLY 1
Message 2 of 2
hgasty1001
in reply to: ltmullen

Hi,

 

Check the Editor method DrawVector, it takes 2 points, a color index and the last argument tells if show the vector highlighted or not.

 

Gaston Nunez

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost