Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/16/2024 in all areas

  1. \\n because a single \ is a control character in a string, to write a single \ to the text file you need to add \ (control character) and \ (character you want to use) - special case for \ that you have to specify you want to use it as a \
    2 points
  2. Either of these options still work. What your CAD software is looking for is the correct syntax and format with { } like ( ) in lisp. you can write lisp/dcl with one word per line or all on one line as long as the ( ) & { } match up. wouldn't be easy to read but would work. if it works how can it be wrong? its more like personal preference. so if you don't want them broken up into multiple lines take out the //n. or like in my third example add it after each ; :row { :text { value="when the command is first executed"; is_enabled=flash; fixed_width=true; width=29; fixed_height=true; height=0; } } :row { :text { value="when the command is first executed"; is_enabled=flash; fixed_width=true; width=29; fixed_height=true; height=0; } } :row { :text { value="when the command is first executed"; is_enabled=flash; fixed_width=true; width=29; fixed_height=true; height=0; } }
    1 point
  3. What you are attempting to do is to crack AutoCAD's security, which seems to be working! I expect you have already tried using the License Transfer utility? i expect that somewhere in the small print of the terms of use there is a definition of "Perpetual" which doesn't agree with your understanding of the word. But to be practical, have you tried a virtual environment? I am running version 2002 with VMWare on a Windows 10 machine.
    1 point
  4. This was asked for a little while ago, I know did a possible solution, will try to find again. https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/line-between-two-lines/td-p/3781918/page/2
    1 point
  5. Several years ago, my boss insisted on doing this--putting a post at each end and corner of a fence. As the other responses indicate, there is no known mechanism for doing that automatically, short of writing some code, but that's not a linetype. I did a lot of research, but I wound up having to draw the fence and insert an array of post blocks... which meant redrawing the whole length of any segment that changed. Sorry. Hope you find a better solution.
    1 point
  6. Version 1.0.1

    1,276 downloads

    Thank you for supporting this "HP:BUTTONS.lsp" DCL library. This routine allows you to create DCL with multiple buttons associated to DCL action_tile list on the fly. It creates DCL box with single column x nRows of buttons, 'n' depends on the length of the 'action list' usage: (hp:buttons title lst width ht) title = Name caption on top of DCL - string lst = quoted list or progn list - list width = Width of the dialod box - integer ht = height of each button - integer returns nil or any execution (progn ... ) related to action_tile Save this file into your support folder, append to your startup autoload routine. In order to optimize the user experience, it allows maxinum 15 rows however you can abjust depends on screen size. HP:BUTTONS - v1.0 Free LISP by - hanhphuc email: hanhphuc.diy@outlook.com
    1 point
×
×
  • Create New...