Author Topic: Extract value for total number of rows form a table object  (Read 1844 times)

0 Members and 1 Guest are viewing this topic.

jpcadconsulting

  • Newt
  • Posts: 56
Extract value for total number of rows form a table object
« 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
« Last Edit: November 18, 2014, 01:38:12 PM by jpcadconsulting »
Technology will save us all! *eyeroll*

Lee Mac

  • Seagull
  • Posts: 12914
  • London, England
Re: Extract value for total number of rows form a table object
« Reply #1 on: November 18, 2014, 01:34:59 PM »
Look at the ActiveX rows property, i.e. the vla-get-rows function  :wink:

BlackBox

  • King Gator
  • Posts: 3770
Re: Extract value for total number of rows form a table object
« Reply #2 on: November 18, 2014, 01:52:27 PM »
JP really spreads his questions around.  :-D :angel:
"How we think determines what we do, and what we do determines what we get."

jpcadconsulting

  • Newt
  • Posts: 56
Re: Extract value for total number of rows form a table object
« Reply #3 on: November 18, 2014, 02:00:17 PM »
Black box is following me.  ;-)
Technology will save us all! *eyeroll*

BlackBox

  • King Gator
  • Posts: 3770
Re: Extract value for total number of rows form a table object
« Reply #4 on: November 18, 2014, 02:07:14 PM »
Black box is following me.  ;-)

Consider your post count, as to whom is following whom. :whistling:
"How we think determines what we do, and what we do determines what we get."