Home > Net >  C # how CAD like mouse manually selected elements in c # code?
C # how CAD like mouse manually selected elements in c # code?

Time:09-17

AcadSelectionSet mySelectionSet=AcadDoc. SelectionSets. Add (" NewSelectionSet ");

Int16 [] FilterType=new Int16 [1]. Object [] FilterData=https://bbs.csdn.net/topics/new object [1].
FilterType [0]=8; FilterData [0]="NFDC_FW_1";
Double [] point01=new double [3]. Double [] point02=new double [3].
Point01 [0]=0; Point01 [1]=0; Point01 [2]=0; Point02 [0]=10000; Point02 [1]=10000; Point02 [2]=0;
MySelectionSet. Select (AcSelect acSelectionSetAll, point01, point02, FilterType, FilterData);

I have choose by conditions, the elements of a layer can be manipulated,, but I want to iterate through one of the elements, and then execute cad command. Please select a hint graphics...

CodePudding user response:

The com EXE

CodePudding user response:

Used CAD, about like this? http://bbs.cskin.net/thread-15956-1-1.html

CodePudding user response:

You find the AutoCAD development foundation and instance tutorial (second edition) look at it, the third chapter selection,
  •  Tags:  
  • C #
  • Related