+ Post New Thread
Page 501 of 654 FirstFirst ... 401 451 491 499 500 501 502 503 511 551 601 ... LastLast
Threads 12501 to 12525 of 16338

Forum: AutoLISP, Visual LISP & DCL

Questions from beginner to advanced. Tell us about good sources of free lisp and post your own routines for testing.
Code posting guidelines

  1. FAQ Article Sticky Thread Sticky: Suggested changes to this forum

    The "AutoLISP, VBA, the CUI & Customisation" forum has become a very lively part of the AutoCAD Forums and probably needs a structural review in order to acommodate growth in the future. I'm...

    Started by CADTutor‎, 14th Jun 2010 09:44 am
    8 Pages
    1 2 3 ... 8
    • Replies: 75
    • Views: 96,307
    12th Aug 2010 08:09 am Go to last post
  2. FAQ Article Sticky Thread Sticky: Code posting guidelines

    Code posting guidelines When you are posting AutoLISP or VBA code in these forums, there are some simple guidellines you should observe in order to make life easier for you and for others. ...

    Started by CADTutor‎, 18th Sep 2006 10:46 pm
    • Replies: 0
    • Views: 77,837
    18th Sep 2006 10:46 pm Go to last post
  1. Routine that works in R14, not so well in 2007

    We use a LISP routine that was made for r14 and works great, but when we try it in 2007, it only partially works. I'll explain: It's an irrigation pipe sizing routine. When it is started we are...

    Started by chudney31‎, 12th Jul 2009 06:06 am
    3 Pages
    1 2 3
    • Replies: 21
    • Views: 4,202
    19th Jul 2009 10:48 pm Go to last post
  2. Units to meters in VB.net

    Hi All, I'm using vb.net to write a DLL that I can load with netload. How can I set the drawing's Units to meters? I would also like to change the precision from the default 0.0000 to 0.000. All...

    Started by Jozi68‎, 16th Jul 2009 11:53 am
    • Replies: 5
    • Views: 6,070
    19th Jul 2009 06:14 pm Go to last post
  3. Lsp route to be modified

    Hi to all, Good Day, I have some old Lisp route the will shade on round plan or symbol by a ramp up on plan, kindly see the image: (defun c:shd ()(setq old_error *error* *error* ai_error)...

    Started by VisDak‎, 19th Jul 2009 03:34 pm
    • Replies: 3
    • Views: 2,132
    19th Jul 2009 03:57 pm Go to last post
  4. can anyone write me vba code to update attributes in access table

    Hi all i have a form filled with attributes from the drawing title block. The textboxes in the form are labeld the same as the attributes. (i.E. F1 F20 etc.) Now I would like to update my...

    Started by vittorio0‎, 19th Jul 2009 07:51 am
    • Replies: 0
    • Views: 1,912
    19th Jul 2009 07:51 am Go to last post
  5. Question Suppressing New Project Dialog box in Autocad

    Hi I am using VBA to create new Autocad Project, i dont want to have the new project dialog box. the project name and project path should be given through VBA. so how to suppress the autocad...

    Started by santh‎, 9th Jul 2009 07:13 am
    • Replies: 1
    • Views: 1,990
    18th Jul 2009 09:57 pm Go to last post
  6. Vla-get-promptstring (?)

    Hi All I am trying to use the vla-get-promptstring for an attribute definition ;vlax-safearray->list (getattribute) method However the response i recieve is error: ActiveX Server...

    Started by ollie‎, 17th Jul 2009 04:06 pm
    • Replies: 3
    • Views: 2,211
    18th Jul 2009 02:39 pm Go to last post
  7. Coords not updating correctly

    I got this code from Lee Mac a few months ago and it works great except for one thing. The "PT2" Y Coordinates are not filling out the attribute correctly. Can somene please help. Attributes: ...

    Started by cabltv1‎, 17th Jul 2009 01:13 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 2,859
    18th Jul 2009 01:10 am Go to last post
  8. vla-get-visible always returns true?

    Hi All (vla-get-visible c) ;Where c is a safearray list from an attblock The above line of code always returns true even when the attributes aren't visible Any thoughts community

    Started by ollie‎, 17th Jul 2009 02:06 pm
    • Replies: 3
    • Views: 2,079
    17th Jul 2009 04:25 pm Go to last post
  9. New to LISP

    hi, could someone help me here... im pretty new to LISP files so im not exactly sure what to do with them. e.g, i would quite like to use one of the LISPs LeeMac has created but i dont...

    Started by StevenMc‎, 14th Jul 2009 03:07 pm
    3 Pages
    1 2 3
    • Replies: 20
    • Views: 4,593
    17th Jul 2009 03:43 pm Go to last post
  10. Changing linetypes of all layers

    Hello all, I have a situation where a lot of our older drawings have layers with incorrect linetypes. These layers have linetypes 'CENTER', 'HIDDEN' & 'PHANTOM', whereas they should all be...

    Started by DVDM‎, 15th Jul 2009 03:39 am
    • Replies: 9
    • Views: 3,451
    17th Jul 2009 03:14 pm Go to last post
  11. Purge-all Lisp similar to SaveAll & CloseAll

    Hi All, normally i try to search out a lisp instead of doing a request, but i've been having much trouble. unlike the direction from cadaysts-directory cleanup. im in search for one that would do a...

    Started by bchou‎, 15th Jul 2009 06:46 pm
    2 Pages
    1 2
    • Replies: 18
    • Views: 11,498
    17th Jul 2009 01:08 pm Go to last post
  12. dcl Instablility

    Have you noticed that dcl code will work some time, yet other times not. That it must be done it a particular way, or am imagining it all For example(setq anglethickness (atoi(get_tile...

    Started by flowerrobot‎, 17th Jul 2009 11:10 am
    • Replies: 8
    • Views: 2,338
    17th Jul 2009 01:06 pm Go to last post
  13. Question Reactors

    Hi All, This thread has stemmed from a previous thread posted in which a timer was required on drawings. A suggestion was made to use a reactor so that everytime the user hits "save" the timer...

    Started by Lee Mac‎, 13th Nov 2008 11:05 pm
    2 Pages
    1 2
    • Replies: 13
    • Views: 5,102
    17th Jul 2009 12:21 pm Go to last post
  14. radio buttons

    I have a question about radio buttons on dialog boxes. Is there a limitation of one set of radio buttons per dialog. I want to select two items but I don't want to use radio buttons and toggle...

    Started by woodman78‎, 16th Jul 2009 10:21 am
    • Replies: 5
    • Views: 2,595
    17th Jul 2009 10:55 am Go to last post
  15. Pipe Line offset

    hi to all, Good Day, Please to help me to create a Lsp route that will automate selecting 2 individial levels of line by connecting a 45degree line/polyline and it will create a pipe offset.:) i...

    Started by VisDak‎, 17th Jul 2009 12:43 am
    • Replies: 1
    • Views: 2,231
    17th Jul 2009 03:54 am Go to last post
  16. LISP "IF" statement ending with error

    I have this LISP code below that works just fine, except that when it is done running, it comes up with: "Command: ; error: no function definition: nil" (defun c:crun () (setvar "cmdecho" 1)...

    Started by brawleyman‎, 15th Jul 2009 08:36 pm
    4 Pages
    1 2 3 ... 4
    • Replies: 37
    • Views: 16,890
    16th Jul 2009 11:21 pm Go to last post
  17. VB.NET, Effective Crossing Window without EditorInput, DWGs Opened in Memory

    I am building a VB dot NET program to extract data from drawings without opening and rendering each drawing. I accomplish this with: 'Initialize Database Source as Read Dim dbExtract AsNew...

    Started by bjhuffin‎, 12th Jun 2009 05:29 pm
    • Replies: 3
    • Views: 3,749
    16th Jul 2009 09:27 pm Go to last post
  18. Question Combining 2 commands and creating a pause to ask for a result from the first command

    Im combining "-view" "w" with "ucs" "world" Here is my lisp. Very simple (defun c:sv (/ -view ucs) (command "-view" "w") (princ) ) Yet. when I finish this on certain objects it rotates...

    Started by MikeP‎, 14th Jul 2009 03:34 pm
    2 Pages
    1 2
    • Replies: 11
    • Views: 4,584
    16th Jul 2009 03:41 pm Go to last post
  19. Question drawing in AutoCad with excel

    Hi, I have an excel file which looks like this example: x y length angle 208919.46 378003.48 0.0482 13.8851 I found out how to draw a line with this information. Add these...

    Started by mossieramm‎, 15th Jul 2009 10:26 am
    2 Pages
    1 2
    • Replies: 10
    • Views: 4,320
    16th Jul 2009 11:36 am Go to last post
  20. Block Find

    Does anyone have a LISP or VBA script that will take input from a text file listing the block handles of multiple blocks and zoom in on the block, allow me to perform some function (EATTEDIT) on that...

    Started by Glen Smith‎, 14th Jul 2009 09:58 pm
    2 Pages
    1 2
    • Replies: 13
    • Views: 5,846
    15th Jul 2009 10:40 pm Go to last post
  21. Bad Function

    Hi, I,ve been on before about this. When i run this I get a "bad function" error fot TB1,TB2,TB3,TB4. Has anybody any ideas?? I am new to this so in the plainest language possible?? Thanks. ...

    Started by woodman78‎, 13th Jul 2009 02:18 pm
    2 Pages
    1 2
    • Replies: 16
    • Views: 6,123
    15th Jul 2009 10:23 pm Go to last post
  22. Create new text style in vlisp using true type fonts?

    Hi, can anyone help..... I am trying to create a new text style using visual lisp, the new text style is to have the arial true type font, here is the code: (vl-load-com) (setq doc...

    Started by arubus1977‎, 15th Jul 2009 09:43 am
    • Replies: 2
    • Views: 6,307
    15th Jul 2009 01:06 pm Go to last post
  23. Count from 001 not working

    I am trying to be able to enter a number and my lisp routine needs to make the number "001" instead of "1". The lisp will eventually start counting up 002, 003, 004........ Yesterday i recieved...

    Started by mechcad‎, 3rd Dec 2005 06:40 pm
    • Replies: 9
    • Views: 4,926
    15th Jul 2009 11:21 am Go to last post
  24. whats wrong with this

    im trying to write a lsp, this is how it starts, when i run it my command line says Command: 321 Loaded. Select objects/<First corner>: ; error: no function definition: TYPE im confused why is it...

    Started by chelsea1307‎, 10th Jul 2009 12:48 am
    3 Pages
    1 2 3
    • Replies: 25
    • Views: 6,044
    15th Jul 2009 11:06 am Go to last post
  25. History of solids

    I think a message was already asked for this, but I'm asking again. I want to go into each block and delete the history from all solids inside the block. Actually, I just want to delete ALL...

    Started by ARGV‎, 14th Jul 2009 06:52 pm
    • Replies: 4
    • Views: 5,241
    15th Jul 2009 04:52 am Go to last post

Thread Display Options

Use this control to limit the display of threads to those newer than the specified time frame.

Allows you to choose the data by which the thread list will be sorted.

Order threads in...

Note: when sorting by date, 'descending order' will show the newest results first.

Icon Legend

Contains unread posts
Contains unread posts
Contains no unread posts
Contains no unread posts
More than 15 replies or 250 views
Hot thread with unread posts
More than 15 replies or 250 views
Hot thread with no unread posts
Closed Thread
Thread is closed
Thread Contains a Message Written By You
You have posted in this thread

Posting Permissions

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