TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: jpcadconsulting on November 18, 2014, 01:19:16 PM

Title: Extract value for total number of rows form a table object
Post by: jpcadconsulting on November 18, 2014, 01:19:16 PM
Hello gang,

I'm trying to find out if there is a way to extract the value for the total number of rows in a given AutoCAD table.  I know the value is in there somewhere, I can simply type LIST and select the table and it spits out (among other things) the total number of rows.  it also appears in the properties palette when the table is selected.

I'm trying to get this value into LISP so I can (hopefully) use it to get the holy grail of SSM  "total number of sheets in a sheet set"

I figure the total number of sheets in any given sheet set is always the total number of rows in the Sheet List Table, minus 2 (the table title row and the column title row).

Any help is appreciated.

-JP
Title: Re: Extract value for total number of rows form a table object
Post by: Lee Mac on November 18, 2014, 01:34:59 PM
Look at the ActiveX rows property, i.e. the vla-get-rows function  :wink:
Title: Re: Extract value for total number of rows form a table object
Post by: BlackBox on November 18, 2014, 01:52:27 PM
JP really spreads his questions around.  :-D :angel:
Title: Re: Extract value for total number of rows form a table object
Post by: jpcadconsulting on November 18, 2014, 02:00:17 PM
Black box is following me.  ;-)
Title: Re: Extract value for total number of rows form a table object
Post by: BlackBox on November 18, 2014, 02:07:14 PM
Black box is following me.  ;-)

Consider your post count, as to whom is following whom. :whistling: