WodMarsden Posted May 30, 2014 Share Posted May 30, 2014 Hello all, I work in utilities and would like to set node points at certain points of a network and have a table populate with the dimensions from each node point. Is there anyway of doing this in AutoCAD 2011. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted May 31, 2014 Share Posted May 31, 2014 Can be done using a lisp here is an example of how to create a table via lisp, you need to search how to add a line it should be easy. I will have a look also ; this uses 2 lists of values representing two columns list1 & list2 ; if you look at it as X & Y it should make sense ; by Alan H 2014 ; now do table (setq numrows (+ 2 (sslength ss1))) ; number of items in list1 & 2 (setq numcolumns 2) (setq rowheight 0.2) (setq colwidth 150) (setq objtable (vla-addtable curspace pt1 numrows numcolumns rowheight colwidth)) (vla-settext objtable 0 0 "DRAWING REGISTER") (vla-settext objtable 1 0 "DRAWING NUMBER") (vla-settext objtable 1 1 "DRAWING TITLE") (SETQ X 0) (SETQ Y 2) (REPEAT (sslength ss1) (vla-settext objtable Y 0 (NTH X LIST1)) (vla-settext objtable Y 1 (NTH X LIST2)) (vla-setrowheight objtable y 7) (SETQ X (+ X 1)) (SETQ Y (+ Y 1)) ) (vla-setcolumnwidth objtable 0 55) (vla-setcolumnwidth objtable 1 170) (command "_zoom" "e") Quote Link to comment Share on other sites More sharing options...
WodMarsden Posted September 4, 2014 Author Share Posted September 4, 2014 Anyone have an update on this please? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.