You can change the definition of a packet using the SKILL function drSetPacket.
existing=drGetPacket("display" "y0")rplaca(cdddr(existing) "thickLine")apply('drSetPacket existing)
Or if the list manipulation is a bit unobvious there, you could do:
drSetPacket("display" "y0" "blank" "thickLine" "yellow" "yellow" "outline")
The colors, fill styles and line styles have to be names that are already in your display.drf.
Note that there is no need to ever change the display.drf in the Cadence installation; you could always create a local one (say in the working directory, or somewhere else in the "setup.loc" search path). Or you could load one using drLoadDrf().
Thank you Andrew, that does the trick.
I did stumble into Solution 11010566 which illustrates as you suggest.
I am curious about one thing:
Lets say I have a display.drf that I want to share between multiple users and it lives in some shared path /common/mygroup/display.drf
Manually copying or linking in the display is somewhat clunky and it may overried someone's customizations. Is there a way to source this display.drf using SKILL only? It has been awhile since I read about setup.loc but if I remember that is part of the install area (for me this is read only).
Yes, you can load a display.drf with the following command:
[ g_askToSave ]
) => t | nil
Loads the display resource file (usually called display.drf) from any location.
t_filename - The path and name of the display resource file (usually called display.drf).
g_askToSave - Indicates whether you want a dialog box displayed asking whether you want to save your changes when you quit the Display Resource Editor.
Valid Values: t, nil (Default: t)
Hope it helps!
Which "highlite" are you talking about (i.e. which operation are you doing) - different layers are used for different things, so it's important to understand precisely what you're trying to do.