Results 1 to 4 of 4

Thread: Change Table Properties Using Lisp Routine

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    I could stop if I wanted to
    Join Date
    2015-09
    Posts
    420
    Login to Give a bone
    0

    Default Change Table Properties Using Lisp Routine

    Hi AUGI Members,

    Is there a way to change the Cell Height, Vertical Cell Margin, Horizontal Cell Margin, & Cell Style using a lisp routine....?? When I Copy / Paste an Excel sheet into an AutoCAD Table using the Paste Special option the resulting table needs to be modified to conform to our standards even though I have a Table Style defined before I perform the Paste Special operation.

    Any help would be appreciated....!!


    Regards,
    Vince

  2. #2
    Member
    Join Date
    2023-07
    Posts
    4
    Login to Give a bone
    0

    Default Re: Change Table Properties Using Lisp Routine

    Quote Originally Posted by CADdancer View Post
    Hi AUGI Members,

    Is there a way to change the Cell Height, Vertical Cell Margin, Horizontal Cell Margin, & Cell Style using a lisp routine....?? When I Copy / Paste an Excel sheet into an AutoCAD Table using the Paste Special option the resulting table needs to be modified to conform to our standards even though I have a Table Style defined before I perform the Paste Special operation.

    Any help would be appreciated....!!


    Regards,
    Vince
    Did you happen figure out a way?
    I'm working on a similiar issue.

  3. #3
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,100
    Login to Give a bone
    0

    Default Re: Change Table Properties Using Lisp Routine

    Quote Originally Posted by druohonen796719 View Post
    Did you happen figure out a way?
    I'm working on a similiar issue.
    Yes. It is possible to modify AutoCAD Tables using AutoLISP. You'll probably need to work through each individual cell. You can review the methods and properties available for table objects.
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

  4. #4
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    6,409
    Login to Give a bone
    0

    Default Re: Change Table Properties Using Lisp Routine

    If PASTESPECMODE is set to 1, then set it to 0. Note that AutoCAD tables don't have ALL the formatting options that Excel does, so it may not look exactly like your Excel table.
    C:> ED WORKING....


    LinkedIn

Similar Threads

  1. Need lisp routine to reverse bearings in line table
    By TRENA680153 in forum AutoLISP
    Replies: 0
    Last Post: 2015-04-23, 07:30 PM
  2. Curve Table Lisp Routine
    By julie.206712 in forum AutoLISP
    Replies: 7
    Last Post: 2013-08-20, 02:40 PM
  3. Help with this color change LISP routine
    By jeff.richards in forum AutoLISP
    Replies: 4
    Last Post: 2008-11-26, 02:54 PM
  4. Change Dynamic Properties of a DB in a Table
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 0
    Last Post: 2008-06-05, 02:15 PM
  5. Replies: 2
    Last Post: 2006-03-29, 03:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •