Graphics Used for Slide_Images Are Not Showing Up

Graphics Used for Slide_Images Are Not Showing Up

mgorecki
Collaborator Collaborator
673 Views
3 Replies
Message 1 of 4

Graphics Used for Slide_Images Are Not Showing Up

mgorecki
Collaborator
Collaborator

I have created .sld files using this method:

  • In model space I create the graphics.
  • In paper space, I create a viewport where the size is the same as what I use in the DCL file.  For his example my drawing is in decimal inches, so I create a viewport that is 5x4 and zoom the graphics to fill the viewport.
    • :image {
           key = "test";
           height = 4;
           width = 5;
           color = 0;
           alignment = centered;
          }
  • I set a variable for the .sld image and call the upDateImage function and pass it the slide name and dcl key
    • (setq testImg "L:/AutoCAD/Lsp/SLD/test.sld")  <-This is a network folder
    • (upDateImage testImg "test")
  • This is the function
(defun upDateImage(sldName key)
 (start_image key)
 (fill_image 0 0 (dimx_tile key) (dimy_tile key) 0)
 (slide_image 0 0 (dimx_tile key) (dimy_tile key) sldName)
 (end_image)
)

 

The problem is that the images do not show up in the dialog box.  If I change the path of the .sld file to the same folder as the code (local on the C:\ drive), then they show up.  The people that are going to be using my program will not have access to my C:\ drive, so I need to put the files in a network folder.

 

Does anyone have an idea on how I can get my images to show up using the network folder path?

 

Thanks in advance.

0 Likes
Accepted solutions (1)
674 Views
3 Replies
Replies (3)
Message 2 of 4

Sea-Haven
Mentor
Mentor

It should only be a case of making sure the slides are in a support and trusted path, we had this setup all slides on a server and in a SLB.

0 Likes
Message 3 of 4

mgorecki
Collaborator
Collaborator

Hello, thanks for your reply.  I have the paths listed in both the "Support File Search Path" and the "Trusted Locations" folders, but I still only see white rectangles where the graphics should be.

0 Likes
Message 4 of 4

mgorecki
Collaborator
Collaborator
Accepted solution

Ok, I feel very stupid on this one.  I had the path name wrong by a couple of letters.  Yes, hanging my head in shame.

 

Thanks for trying to help me anyway 😊

0 Likes