• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

macro di selezione

  • Thread starter Thread starter max_euro
  • Start date Start date

max_euro

Guest
Good day to all
I should write a macro that allows me to make "managed" preselects depending on the user's wishes but I can't find the way to "simulate"
the selection window ....when I put in the macro the command preselect global
it lets me select with the shutter but then if I end it comes out from the macro
some suggestions
Thank you very much
 
Good day to all
I should write a macro that allows me to make "managed" preselects depending on the user's wishes but I can't find the way to "simulate"
the selection window ....when I put in the macro the command preselect global
it lets me select with the shutter but then if I end it comes out from the macro
some suggestions
Thank you very much
You want to make a filter?
Maybe try to post the macro
 
You want to make a filter?
Maybe try to post the macro
thanks to the interest but I solved with rubber_box
The emplice macro is this

define mm
local l_p1 local l_p2 local l_read


read qualifier pnt command 'selection first point window :' l_read
le l_p1 (l_read) read pnt's selection second point window:' rubber_box l_p1 l_p2
preselect globalct
_
_


loop
read qualifier pnt command 'de-selection first point window : ' l_read
exit_if (l_read= end)
le l_p1 (l_read) read pnt'de-selection second point window:' rubber_box l_p1 l_p2
subtract geo global
_
_
end_loop



delete global pre_selected end

end
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top