OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: zeha on August 04, 2007, 09:58:49 AM

Title: Method opposite from Fillist
Post by: zeha on August 04, 2007, 09:58:49 AM
Hi,

Is there a method as oposite from Fillist

Now a use

(repeat (setq cntRow (dcl_Grid_GetRowCount Grid_Dcl-1_grid))
  (setq cntRow (1- cntRow))
  (repeat (setq cntCol (dcl_Grid_GetColumnCount Grid_Dcl-1_grid))
     (setq lst (cons (dcl_Grid_GetItemText Grid_Dcl-1_grid1 cntRow cntCol) lst))
     (setq cntCol (1- cntCol))
  )
)

But this is very slow

thx

Harrie
Title: Re: Method opposite from Fillist
Post by: owenwengerd on August 04, 2007, 10:27:32 AM
Quote from: zeha on August 04, 2007, 09:58:49 AM
Is there a method as oposite from Fillist

Try using (dcl_Grid_GetRowItems) to get an entire row at a time, or if your rows are short, use (dcl_Grid_GetColumnItems) instead.
Title: Re: Method opposite from Fillist
Post by: zeha on August 05, 2007, 07:46:35 AM
Quote from: owenwengerd on August 04, 2007, 10:27:32 AM
Quote from: zeha on August 04, 2007, 09:58:49 AM
Is there a method as oposite from Fillist

Try using (dcl_Grid_GetRowItems) to get an entire row at a time, or if your rows are short, use (dcl_Grid_GetColumnItems) instead.

Owen,

many many thanks.

Regards
Harrie