[PCB_FORUM] Re: Converting Colors
- From: "Bolman, Shirley H" <shirley.h.bolman@xxxxxxxxx>
- To: <icu-pcb-forum@xxxxxxxxxxxxx>
- Date: Thu, 17 Apr 2008 14:41:41 -0700
If I read the ppt file correctly, it looks like #96 is not used for any
color. Also I don't understand the reason for the second palette if all
of
the colors are the same vertically.
Please let me know if you have any questions.
Shirley
It is a PRIVILEGE to be born free.
It is a RIGHT to live free.
It is a DUTY to die free.
-----Original Message-----
From: icu-pcb-forum-bounce@xxxxxxxxxxxxx
[mailto:icu-pcb-forum-bounce@xxxxxxxxxxxxx] On Behalf Of Lin, Hsin-Huei
Sent: Thursday, April 17, 2008 2:23 PM
To: icu-pcb-forum@xxxxxxxxxxxxx
Subject: [PCB_FORUM] Re: Converting Colors
George,
If you are talking about the number (38) in line "cvf select_color_cell
38", then I may have the answer for you.
Please see attached PP file, there are two color pallette, the first
section starts from 0 across to 15 and the second row starts from 16
until 31 and so on. The second section starts from 97. You can also
customize your color and save them for later use.
Hsin-Huei
-----Original Message-----
From: icu-pcb-forum-bounce@xxxxxxxxxxxxx
[mailto:icu-pcb-forum-bounce@xxxxxxxxxxxxx] On Behalf Of Barbara Seeger
Sent: Thursday, April 17, 2008 4:05 PM
To: icu-pcb-forum@xxxxxxxxxxxxx
Subject: [PCB_FORUM] Re: Converting Colors
George,
The 16.0 ISR was updated after the 16.0 original release. The script
recording was not storing information based on the class/subclasses
changed and instead saved the grid location in the form. That made
scripts limited.
The ISR scripts will record a color change like this:
color192
setwindow cvf.dialog
cvf layer_mode
setwindow pcb
generaledit
setwindow cvf.dialog
cvf select_color_cell 38
cvf layers_color board_geometry/ncroute_path 39 cvf okay setwindow pcb
The same thing in the early 16.0 version recorded this way and you
didn't know what it really touched:
color192
generaledit
setwindow cvf.dialog
cvf select_color_cell 38
cvf layer_grid_clr 3 218 70 55255
cvf okay
Is this what you are referring to?
Regards,
Barbara Seeger - Cadence Design Systems - 978-262-6578
> From: george.h.patrick@xxxxxxxxxxxxx
>
>
> I am having a problem with scripting color palette changes in Allegro
16.x.
The number used in the scripting is very large, and I can't find how
it's calculated. Has anyone else tackled this yet?
>
> I thought at first it was the color values used by Microsoft in some
> of their
form stuff, where the number is: (Red)+(256*Green)+(65536*Blue). In
this, black is 0 and white is 16777215.
>
> This is not the case in this scheme. Does anyone know how to
calculate this?
It is going to be very un-fun to have to record a script to manually
enter the colors my users are used to :{
>
> --
> George Patrick
> Tektronix, Inc.
> Central Engineering, EDS Applications Support P.O. Box 500, M/S 39-512
> Beaverton, OR 97077-0001
> * 503-627-5272 (voice) * 503-627-5587 (fax)
> http://www.tektronix.com<http://www.tektronix.com/>
http://www.pcb-designer.com<http://www.pcb-designer.com/>
>
> "Off-Grid and Proud of it!"
>
-----------------------------------------------------------
To subscribe/unsubscribe:
Send a message to icu-pcb-forum-request@xxxxxxxxxxxxx
with a subject of subscribe or unsubscribe
To view the archives of this list go to
http://www.freelists.org/archives/icu-pcb-forum/
Problems or Questions:
Send an email to icu-pcb-forum-admins@xxxxxxxxxxxxx
-----------------------------------------------------------
[CONFIDENTIALITY AND PRIVACY NOTICE]
Information transmitted by this email is proprietary to Medtronic and is
intended for use only by the individual or entity to which it is
addressed, and may contain information that is private, privileged,
confidential or exempt from disclosure under applicable law. If you are
not the intended recipient or it appears that this mail has been
forwarded to you without proper authority, you are notified that any use
or dissemination of this information in any manner is strictly
prohibited. In such cases, please delete this mail from your records.
To view this notice in other languages you can either select the
following link or manually copy and paste the link into the address bar
of a web browser: http://emaildisclaimer.medtronic.com
-----------------------------------------------------------
To subscribe/unsubscribe:
Send a message to icu-pcb-forum-request@xxxxxxxxxxxxx
with a subject of subscribe or unsubscribe
To view the archives of this list go to
http://www.freelists.org/archives/icu-pcb-forum/
Problems or Questions:
Send an email to icu-pcb-forum-admins@xxxxxxxxxxxxx
-----------------------------------------------------------
- References:
- [PCB_FORUM] Re: Converting Colors
- From: Lin, Hsin-Huei
Other related posts:
- » [PCB_FORUM] Converting Colors
- » [PCB_FORUM] Re: Converting Colors
- » [PCB_FORUM] Re: Converting Colors
- » [PCB_FORUM] Re: Converting Colors
- » [PCB_FORUM] Re: Converting Colors
- » [PCB_FORUM] Re: Converting Colors
- [PCB_FORUM] Re: Converting Colors
- From: Lin, Hsin-Huei