Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/23/2019 in all areas

  1. Nope, but a like or thanks in the bottom right corner will suffice
    1 point
  2. Like BIgAl says, what do you do all the time that takes more than a simple command or mouse click? Start simple and work from there - and you will learn as you go This forum is great for advice and LISPs, often what I want has been asked before so there are ready made solutions. Another great resource is Lee Macs LISP website. I started with 'utilities' rather than automating my work itself. For example my first one was 'Zoom All' (command line command 'ZA') which only saved typing 6 characters but.. its still quicker. The other one I use all the time is a plotting lisp, 'plota3' and off it goes, A3 plot without the dialogue box (so long as the drawing is set up OK in the first place), saves time. Worth doing I can take these anywhere with me. After that I looked at my actual work and have a few that will automate tasks I do often. Often I will use a LISP for work more for consistency and accuracy rather than the speed boost itself (eliminating typing errors). The 'Zoom All' LISP might be a good start, if you can type the command into the command line you can make it into a LISP really easily. Just save as a new LISP name, and change the command and away you go: (defun c:za() ;define name of LISP, use c: to enable you to run it fromt he command line (command "zoom" "a") ;start with 'command' to tell it your runnign a command line LISP - and then between "" everything you type in and off you go ) ;end the LISP defnition
    1 point
  3. Have a look at this returns the max col row of spread sheet rather than use -4162 (SETQ CURREGION (VLAX-GET-PROPERTY (VLAX-GET-PROPERTY (VLAX-GET-PROPERTY *EXCELAPP% "ACTIVESHEET") "RANGE" "A1") "CURRENTREGION") );SETQ (SETQ MAXROW# (VLAX-GET-PROPERTY (VLAX-GET-PROPERTY CURREGION "ROWS") "COUNT")) (SETQ MAXCOLUMN# (VLAX-GET-PROPERTY (VLAX-GET-PROPERTY CURREGION "COLUMNS") "COUNT"))
    1 point
  4. The width of the columns of an AutoCAD table is a property of the table object itself, not of the table style. Programmatically, this is dictated by the value of the column width parameter supplied to the AddTable method when creating the table object. If you require the table to have columns of unequal width, you can change the width of each column independently using the SetColumnWidth method of the table object. You may wish to review the code for my LM:AddTable function as used in my Polyline Information program for an example.
    1 point
×
×
  • Create New...