×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

background color variable

background color variable

background color variable

(OP)
Hi Acad people:
Does any one knows wich variable or code keeps or handle the  background color and the other colors that we setup at preference.?
I want to change it from a lisp prg.
Thanks

You can reach me at k281969@hotmail.com
but keep your post here for mutual benefits.
Pardal

RE: background color variable


Dear Pardal;

I am not sure if you can change Autocad's background screen plotting colour. At least I could not find any way of doing it when asked to print copies of drawings with a biege background some weeks ago.

If you change the screen background to a new colour this is not reflected in the plot. To solve this problem I had to save my drawing as a .wmf file and have a freind change the background colour using Corel Draw . This worked and my client was happy.

Regards Adrian

RE: background color variable

(OP)
Adrian :

My problem is not printing, is viewing, because some drafters use a dark background and I prefer clear one, so when I make a LISP , it must check for the backgronud so it can choose the color  used to draw on.

You can reach me at k281969@hotmail.com
but keep your post here for mutual benefits.
Pardal

RE: background color variable

Hey everyone.  
I've gotten some nice pointers here in the past.  Maybe someone can help me again.  

I'm displaying mtext on top of a solid fill and I want the text to display AND plot white.  Please help me find a way to do this.  changing the background colour does nothing for plot results.  

It seems so basic!
HELP!

RE: background color variable

Hello Pardal
This may or may not help so take it for what it's worth. If you go into the profiles setup and select the profile you wish to use, you can export that profile into a .arg file with a name and location of your choosing. The file should contain all the information for the profile. Unfortunatley Lisp is my weakness, so I am not sure if this info will work or not. For some strange reason I decided to learn Java before Lisp. The file is written in an ascii text format. I know that with Java you can pull from ascii text and use the info inside your program, I am guessing that you can do the same with Lisp.

RE: background color variable

(OP)
Hey CADKID, you are the best kid on the block.

Sure it can be done with LISP, it has a lot of function to handle file.
  Maybe it will be a dificult to generate the *.ARG file at the user  or maybbe this file is updated when you cahnege the setting.
But is a beguin .
I will try  it.

Thanks again.

You can reach me at k281969@hotmail.com
but keep your post here for mutual benefits.
Pardal

RE: background color variable

(OP)
Hi CadKid:

I browse at the *.arg files, and it refers to REGEISTER  
but with a not understood number, the background color appears as a hexadecimal value that not correspond to the background color number.
I do not know nothing about regedit.
The background colors seem to be belonging to WINDOWS enviroment.

FOLLOW THE PART RELATED TO THIS AFFAIR FROM THE *.ARG


[HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R14.0\ACAD-2452134:65606680\Profiles\<<Unnamed Profile>>\Drawing Window]
"Background"=dword:00E6E6E6
"ForeColor"=dword:00000000
"BackColor"=dword:00FFFFFF
"XhairPickboxEtc"=dword:00000000
"MonoVectors"=dword:00000000
"FontFace"="MS Sans Serif"
"FontHeight"=dword:00000008
"FontWeight"=dword:00000190
"FontItalic"=dword:00000000
"CursorSize"=dword:00000064

This color number in decimal is 15132390, what does it mean ?

Pardal



Pardal

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources