Author Topic: Fast question  (Read 1119 times)

0 Members and 1 Guest are viewing this topic.

amc.dicsac

  • Newt
  • Posts: 109
  • Autocad 2008
Fast question
« on: March 09, 2017, 02:50:44 PM »
Hi.

Is there any way to include a .SLD inside a .LSP  :wideeyed2: :wideeyed2: :wideeyed2: :wideeyed2: :wideeyed2: :wideeyed2:

Code - Auto/Visual Lisp: [Select]
  1.   (setq vectorlists
  2.          (list
  3.            (list "C" 2   2   12  2   19  "C" 2   3   9   3   22  4   23  4
  4.                  8   "C" 2   5   6   5   25  6   26  6   5   7   5   7   26
  5.                  8   27  8   4   9   3   9   28  10  28  10  3   11  3   11
  6.                  28  12  29  12  2   13  2   13  29  14  29  14  2   15  2
  7.                  15  29  16  29  16  2   17  2   17  29  18  29  18  2   19
  8.                  2   19  29  20  28  20  3   21  3   21  28  22  28  22  3
  9.                  23  4   23  27  24  26  24  5   25  5   25  26  26  25  26
  10.                  6   "C" 2   27  8   27  23  28  22  28  9   "C" 2   29  19
  11.                  29  12
  12.                 )
  13.            (list "C" 250 12  30  19  30  20  29  22  29  24  27  25  27  27
  14.                  25  27  24  29  22  29  20  30  19  30  12  29  11  29  9
  15.                  27  7   27  6   25  4   24  4   22  2   20  2   19  1   12
  16.                  1   11  2   9   2   7   4   6   4   4   6   4   7   2   9
  17.                  2   11  1   12  1   19  2   20  2   22  4   24  4   25  6
  18.                  27  7   27  9   29  11  29  "C" 250 6   18  8   20  9   20
  19.                  10  21  12  21  13  22  18  22  19  21  21  21  22  20  23
  20.                  20  25  18  "C" 250 11  12  11  10  12  9   12  13  13  12
  21.                  13  10  "C" 250 18  12  18  10  19  9   19  13  20  12  20
  22.                  10
  23.                 )
  24.            (list "C" 8   7   28  8   29  "C" 8   14  32  21  32  "C" 8   10
  25.                  30  11  30  11  31  24  31  25  30  20  30  "C" 8   27  29
  26.                  23  29  24  28  28  28  29  27  26  27  27  26  29  26  29
  27.                  23  28  24  28  25  "C" 8   30  20  30  25  31  24  31  11
  28.                  30  11  30  10  "C" 8   32  21  32  14  "C" 8   28  7   29
  29.                  8
  30.                 )
  31.          )
  32.   )
« Last Edit: March 09, 2017, 04:33:24 PM by amc.dicsac »
<a href="http:/http://axprogramlisp.blogspot.pe" class="bbc_link" target="_blank">By Alexander Castro</a>

David Bethel

  • Swamp Rat
  • Posts: 656
Re: Fast question
« Reply #1 on: March 10, 2017, 09:52:01 AM »


If you are trying to display a true autocad slide file, look into (command"_.VSLIDE" .....).   Otherwise (grvecs   )   may be of use.  But not in a dcl application.  Menu files can also handle slide files. -David

At least in older acad releases
R12 Dos - A2K

dgorsman

  • Water Moccasin
  • Posts: 2437
Re: Fast question
« Reply #2 on: March 10, 2017, 10:10:15 AM »
The old "tile menu" should still be available as a legacy item.  But I'd advise either switching to OpenDCL or rolling your own with dotNET (it's actually a good introductory task) since they can handle image files.
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}