Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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;
}
- :image {
- 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.
Solved! Go to Solution.