I would like to make a slide that is shaded in gray something like this I was able to get the slide made but it will not come up in the dialog box
I would like to make a slide that is shaded in gray something like this I was able to get the slide made but it will not come up in the dialog box
Unfortunately, AutoCAD's DCL does not support shaded slides only slides with line work.
Area Object Link | Attribute Modifier | Dwg Setup | Feet-Inch Calculator
Layer Apps | List on Steroids | VP Zoom Scales | Exchange App Store
Unfortunately, AutoCAD's DCL does not support shaded slides only slides with line work.
Area Object Link | Attribute Modifier | Dwg Setup | Feet-Inch Calculator
Layer Apps | List on Steroids | VP Zoom Scales | Exchange App Store
Hello cadking2k5,
Its been a long time since I used slides.
I believe Pli is correct, Mslide directly from the drawing are lines. Mslide made in a visual style, other than 2d wireframe, like Concept, Realistic creates a blank image.
However, I faintly recall that you can display a non-drawing image, indirectly.
Print screen or export the drawing as JPG or BMP.
Open with Paint and Crop it to size and save*.
In Autocad, insert the image into model space, create a view port around the image.
Then create the slide (Mslide) of the active port.
*The file format may be restricted to 256 color uncompressed (full color 32bit might not work)
If possible, post the DCL code, it may require some changes.
Hello cadking2k5,
Its been a long time since I used slides.
I believe Pli is correct, Mslide directly from the drawing are lines. Mslide made in a visual style, other than 2d wireframe, like Concept, Realistic creates a blank image.
However, I faintly recall that you can display a non-drawing image, indirectly.
Print screen or export the drawing as JPG or BMP.
Open with Paint and Crop it to size and save*.
In Autocad, insert the image into model space, create a view port around the image.
Then create the slide (Mslide) of the active port.
*The file format may be restricted to 256 color uncompressed (full color 32bit might not work)
If possible, post the DCL code, it may require some changes.
@Scottu2 I know this is thread is over 2 years old but I just thought I reply to your solution of exporting a jpg file and then attaching the image back into AutoCAD to create a shaded slide file. I'm surprised how well this works.
The only issue I encountered had to do with creating a pspace vport and then going back into mspace to create the slide which I've done before with normal vector based drawing to slide creation. But for some reason attempting to create a slide file inside a mspace vport when there's an image attached causes the resultant slide to be filled with gridded dark lines. But this problem does not occur when creating the slide in Model tab.
So I just thought I share a solution I received from a reader on an article I wrote recently where I mentioned the pspace vport mslide creation method on AUGI: https://issuu.com/augi/docs/aw202110hr/32?ff
What this person has done in the pass is run a set of vlisp functions to set the acad app & drawing document window size (Model tab) to match with the resolution proportions of the slide to be created. This bypasses the need to create pspace vports. But of course you do have to find & then set the correct width & height measured in pixels. Below is the code:
; swsfc sets app & dwg doc window to proportions for making top & bottom portions of chroma.dwg slides
(defun c:swsfc (/ acadObject acdoc)
(setq acdoc (vla-get-activedocument(setq acadObject(vlax-get-acad-object))))
(vla-put-windowState acadObject 1) ; don't maximize but cascade acad app window
(vla-put-width acadObject 1920) ; set window width 1920 is for my monitor resolution
(vla-put-height acadObject 1133) ; height 1133 is for my monitor resolution
(vla-put-windowState acdoc 1) ; don't maximize but cascade dwg doc window
(vla-put-width acdoc 1920) ; set dwg doc width 1920 is pixels I needed for my slide
(vla-put-height acdoc 570) ; height 570 is pixels I needed for my slide
) ; defun
@Scottu2 I know this is thread is over 2 years old but I just thought I reply to your solution of exporting a jpg file and then attaching the image back into AutoCAD to create a shaded slide file. I'm surprised how well this works.
The only issue I encountered had to do with creating a pspace vport and then going back into mspace to create the slide which I've done before with normal vector based drawing to slide creation. But for some reason attempting to create a slide file inside a mspace vport when there's an image attached causes the resultant slide to be filled with gridded dark lines. But this problem does not occur when creating the slide in Model tab.
So I just thought I share a solution I received from a reader on an article I wrote recently where I mentioned the pspace vport mslide creation method on AUGI: https://issuu.com/augi/docs/aw202110hr/32?ff
What this person has done in the pass is run a set of vlisp functions to set the acad app & drawing document window size (Model tab) to match with the resolution proportions of the slide to be created. This bypasses the need to create pspace vports. But of course you do have to find & then set the correct width & height measured in pixels. Below is the code:
; swsfc sets app & dwg doc window to proportions for making top & bottom portions of chroma.dwg slides
(defun c:swsfc (/ acadObject acdoc)
(setq acdoc (vla-get-activedocument(setq acadObject(vlax-get-acad-object))))
(vla-put-windowState acadObject 1) ; don't maximize but cascade acad app window
(vla-put-width acadObject 1920) ; set window width 1920 is for my monitor resolution
(vla-put-height acadObject 1133) ; height 1133 is for my monitor resolution
(vla-put-windowState acdoc 1) ; don't maximize but cascade dwg doc window
(vla-put-width acdoc 1920) ; set dwg doc width 1920 is pixels I needed for my slide
(vla-put-height acdoc 570) ; height 570 is pixels I needed for my slide
) ; defun
Can't find what you're looking for? Ask the community or share your knowledge.