Author Topic: Change the background color of Slides  (Read 5980 times)

0 Members and 2 Guests are viewing this topic.

Coder

  • Swamp Rat
  • Posts: 827
Change the background color of Slides
« on: January 10, 2020, 01:02:17 PM »
Hello,

I have created a few Slides with Black background color and I am trying to change the color of the Slide from the image attribute to the same color of the dialog background color ( -15 ) but it does not change.
Code: [Select]
: image { key = "mg"; width = 12; fixed_width = true; height = 8; color = -15;}
Is there a way to work around this problem?

Thank you.

snownut2

  • Swamp Rat
  • Posts: 971
  • Bricscad 22 Ultimate
Re: Change the background color of Slides
« Reply #1 on: January 10, 2020, 07:11:42 PM »
You need to recreate slides.

Coder

  • Swamp Rat
  • Posts: 827
Re: Change the background color of Slides
« Reply #2 on: January 11, 2020, 12:45:31 AM »
Thank you.

What is the equivalent color number of ( -15 ) in AutoCAD to change the color of Model space before recreating the slides?

rayakmal

  • Newt
  • Posts: 49
Re: Change the background color of Slides
« Reply #3 on: January 11, 2020, 07:28:04 AM »
Thank you.

What is the equivalent color number of ( -15 ) in AutoCAD to change the color of Model space before recreating the slides?

I don't know, but I usually change the Autocad display color before creating slides (Right click on your display and open Options)

Coder

  • Swamp Rat
  • Posts: 827
Re: Change the background color of Slides
« Reply #4 on: January 11, 2020, 11:11:11 AM »
Thank you.

What is the equivalent color number of ( -15 ) in AutoCAD to change the color of Model space before recreating the slides?

I don't know, but I usually change the Autocad display color before creating slides (Right click on your display and open Options)
It seems that you repeated what I said in another way.

BIGAL

  • Swamp Rat
  • Posts: 1396
  • 40 + years of using Autocad
Re: Change the background color of Slides
« Reply #5 on: January 12, 2020, 03:07:12 AM »
You can change the background colour via lisp google for it.

Scripting the making of the slides can help to make them if say lots of individual dwg's. Open Z E 0.9xp Mslide name.

Do you have slide manager its over at Autodesk apps well worth getting.
A man who never made a mistake never made anything

Coder

  • Swamp Rat
  • Posts: 827
Re: Change the background color of Slides
« Reply #6 on: January 12, 2020, 06:08:48 AM »
You can change the background colour via lisp google for it.
Would change the background colour of AutoCAD Model or a Slide ?

Scripting the making of the slides can help to make them if say lots of individual dwg's. Open Z E 0.9xp Mslide name.
What does that mean?
Do you have slide manager its over at Autodesk apps well worth getting.
I could not find it on Autodesk apps store.

Thanks for your reply.

BIGAL

  • Swamp Rat
  • Posts: 1396
  • 40 + years of using Autocad
Re: Change the background color of Slides
« Reply #7 on: January 12, 2020, 07:14:43 PM »
I thought I got it from the appstore, any way https://en.freedownloadmanager.org/Windows-PC/Autocad-Slide-Library-Manager-FREE.html

I had like 200+ block dwg's so just wrote a script to open the dwg and make the slide did the 200+ in minutes just watched it flash the screen.

Open dwg22 Z E 0.9xp Mslide name.

Lastly just changes the background colour of your Autocad.
A man who never made a mistake never made anything

Coder

  • Swamp Rat
  • Posts: 827
Re: Change the background color of Slides
« Reply #8 on: January 13, 2020, 01:03:31 AM »
Are you sure is that program for creating and not for extracting ?
If yes, how to create easy slides with that application?

BIGAL

  • Swamp Rat
  • Posts: 1396
  • 40 + years of using Autocad
Re: Change the background color of Slides
« Reply #9 on: January 13, 2020, 08:27:32 PM »
There are various ways of making a script in this case to make slides, the 1st step is to make a txt file with all the dwgnames.
You may need path as well, for me I use the support paths so they can be found.

Ok so a quicky using windows CMD dir *.dwg <dirlst.txt /b will make a text file with dwg names.

Then I use WORD as it lets you replace end of line with text. Then save as a script .scr



A man who never made a mistake never made anything

Coder

  • Swamp Rat
  • Posts: 827
Re: Change the background color of Slides
« Reply #10 on: January 14, 2020, 07:02:37 AM »
@BIGAL

I am not asking about how to make slides but I am asking .....
How to change the background colour of Slides
ELSE
What is the equivalent colour number of ( -15 ) in AutoCAD to change the colour of Model space before recreating the slides?


Hope this clear to you.
Thanks

snownut2

  • Swamp Rat
  • Posts: 971
  • Bricscad 22 Ultimate
Re: Change the background color of Slides
« Reply #11 on: January 14, 2020, 07:54:32 AM »
Personally I produce slides through a view-port, with the actual object located in model space.  This allows (by performing a zoom extents) for all slides to be the same size.  So following that, you can change the background color of model space then whatever color you want the slide background color to be.

Coder

  • Swamp Rat
  • Posts: 827
Re: Change the background color of Slides
« Reply #12 on: January 14, 2020, 08:33:38 AM »
Personally I produce slides through a view-port, with the actual object located in model space.  This allows (by performing a zoom extents) for all slides to be the same size.  So following that, you can change the background color of model space then whatever color you want the slide background color to be.
Correct, that's what I do as well but the question still remains:

What is the equivalent colour number of ( -15 ) in AutoCAD to change the colour of Model space before recreating the slides?

ronjonp

  • Needs a day job
  • Posts: 7526
Re: Change the background color of Slides
« Reply #13 on: January 14, 2020, 09:03:58 AM »
How are you coming up with -15 for a color?

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Re: Change the background color of Slides
« Reply #14 on: January 14, 2020, 09:22:34 AM »
-15 is a DCL color.

But I am surprised by this discussion. AFAIK SLD files do not store a background color.