Jump to content

change table data row height at once


sivapathasunderam

Recommended Posts

Dear colleagues,

 

It's impossible to select all the table data rows ''not the title or header row'' by (quick select or filter) at once for change of it's height

My one dwg has 75 tables

need help

 

thanks

Siva

Edited by sivapathasunderam
add one sentence
Link to comment
Share on other sites

Here's a quick solution, This skips the 1st row and changes the row height of remaining rows as per your input.

Not sure this what you want :-

 

(defun c:test (/ a b c d i)
 (if (and (setq a (ssget '((0 . "*TABLE"))))
   (setq b (getdist "\nSpecify Row Height : "))
     )
   (repeat (setq i (sslength a))
     (setq c (vlax-ename->vla-object (ssname a (setq i (1- i)))))
     (setq d 1)
     (while (< 0 d (vla-get-rows c))
(vla-setrowheight c d b)
(setq d (1+ d))
     )
   )
 )
 (princ)
)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...