About slidelib.exe

About slidelib.exe

saitoib
Advocate Advocate
829 Views
4 Replies
Message 1 of 5

About slidelib.exe

saitoib
Advocate
Advocate
Let me ask another question.
 
I am trying to create a Slide Library, but I can't get it to work!
I am referring to the description of slidelib.exe.
Since entering the file path for slidelib.exe is difficult, I copied the shortcut for slidelib.exe and ran it.
The result is that I get an error saying that the ".slb file" cannot be opened.
Is there a problem?

 

 C:\Users\saitoib\Documents\Slide 

2022/04/27  19:55    <DIR>          .
2022/04/27  19:55    <DIR>          ..
2022/04/26  19:38             4,957 Bottom.sld
2022/04/26  19:35             2,495 Front.sld
2022/04/26  19:36             6,253 Left.sld
2022/04/26  19:38             2,263 Plan.sld
2022/04/26  19:36             2,495 Right.sld
2022/04/27  15:40             1,650 slidelib.exe.lnk
               6 files              20,113 Byte
               2 Directorys  686,873,620,480 Free

C:\Users\saitoib\Documents\Slide>dir *.sld /b > mylist

C:\Users\saitoib\Documents\Slide>slidelib.exe.lnk slides < mylist

SLIDELIB 1.3  (9/6/2017)
(C) Copyright 2017 Autodesk, Inc.
      All Rights Reserved
Cannot open file Bottom.sld
Cannot open file Front.sld
Cannot open file Left.sld
Cannot open file Plan.sld
Cannot open file Right.sld

5 errors encountered.  No output file created.

 

Thank you.

Saitoib
0 Likes
Accepted solutions (2)
830 Views
4 Replies
Replies (4)
Message 2 of 5

Mehmet_Demiryurek
Mentor
Mentor
Accepted solution

Hi,

 

You copied the link of slidelib.exe file.

That's why it throws an error. Copy the file itself to the folder with the sld files and repeat the process.


Mehmet Şamil DEMİRYÜREK

Bu gönderiyi faydalı buldunuz mu? Bu gönderiyi beğenmekten çekinmeyin.
Sorunuz başarıyla yanıtlandı mı? ÇÖZÜMÜ KABUL ET düğmesine tıklayın.


EESignature

Linkedln

Message 3 of 5

saitoib
Advocate
Advocate

@Mehmet_Demiryurek 

Thank you very much.
I did not think of a way to copy the executable file.


Could you please tell me one more thing.
I have the library, but I don't know the syntax to call it.
Somewhere I saw the information "library name (slide name)" but this did not work.

(defun c:test2 ( / dcl_file dlg_id ret)
  (setq dcl_file (findfile "test.dcl"))
  (setq dlg_id (load_dialog dcl_file))
  (new_dialog "Test" dlg_id)
  
  (start_image "plan")
    (slide_image 0 0 (dimx_tile "plan") (dimy_tile "plan") "Slides (Plan.sld)")
  (end_image)

  (action_tile "accept" "(done_dialog 1)")
  (action_tile "cancel" "(done_dialog 0)")
  
  (setq ret (start_dialog))
  (unload_dialog dlg_id)
)

Thank you.

Saitoib
0 Likes
Message 4 of 5

john.uhden
Mentor
Mentor
Accepted solution

Here.  I stole this out of the program I had shown an image of:

   ;;-----------------------------
   ;; Function to display |slide:
   ;;
   (defun @Anonymous_slide (|tile / |slide |tile |x |y)
      (if (findfile (strcat $cv_path "SPOTLBL.SLB"))
         (progn
            (setq |slide (strcat $cv_path "SPOTLBL(" |tile ")"))
            (setq |x (dimx_tile |tile)
                  |y (dimy_tile |tile)
            )
            (start_image |tile)
            (fill_image 0 0 |x |y 0)  ; black it out
            (slide_image 0 0 |x |y |slide)
            (end_image)
         )
         (set_tile "error" "Slide files not found!")
      )
   )

$cv_path is global to me.  You can use any string variable you want.

I think the only thin you had wrong was adding the space between "Slides" and "("

IOW try changing

"Slides (Plan.sld)"

to

"Slides(Plan)"

because you don't want to add the extension since an .SLB can contain only .SLDs.

 

John F. Uhden

Message 5 of 5

saitoib
Advocate
Advocate

@john.uhden 

Thank you for everything.
I was able to resolve the issue successfully.

Thank you very much.
Saitoib
0 Likes