● what's the length of the varialbe "lines" ?? I assume it's the correct numer (test it with a cube and a standard view!
● I bet the call of AM_HIDE you are using is wrong. AM_HIDE is a parallel dialog and you are not using any keywords in your call. That won't work at all.
(am_hide :calc_geo :On :geo the-lines)
something similar like that I expect.
● Learn to ==>> better record correct command sequences to have a fine code template
● last but not least: you should not call another action (here AM_HIDE) in a loop for each and every element of a list when the called action can handle multiple selection by it's own
By reading your code the problem is not get_selection but the am_hide call IMHO.
● Firefox ESR ● Java Forum Stuttgart JUGS ● OSD Hilfeseite (de) / help page (en) ● NotePad++ ● BuFDi ●
[Diese Nachricht wurde von der_Wolfgang am 08. Sep. 2021 editiert.]
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP