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

highlight the object and show the control point

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
huaxiamengqing
682 Views, 3 Replies

highlight the object and show the control point

Hi,guys! I use net to select an object,and highlight it. but the control point couldn't be shown!

i don't want!

I don't want

I want!

iwant

3 REPLIES 3
Message 2 of 4

Wa O, Nobody knows it??

Spoiler
 

Cat Mad

Message 3 of 4
_gile
in reply to: huaxiamengqing

Hi,

 


Maybe you're looking for the Editor.SetImpliedSelection() method.

 

        [CommandMethod("Test")]
        public void Test()
        {
            Editor ed = Application.DocumentManager.MdiActiveDocument.Editor;
            PromptSelectionResult psr = ed.GetSelection();
            if (psr.Status == PromptStatus.OK)
                ed.SetImpliedSelection(psr.Value);
        }

 



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

Message 4 of 4
huaxiamengqing
in reply to: _gile

Yes,Yes, That's what I want! Thank you ,Thank you very much. You are a good man gile.

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