Quantcast
Channel: Cadence PCB Design Forum
Viewing all articles
Browse latest Browse all 5525

OrCAD Symbol Color Macro

$
0
0

Hi,

I am wondering why the following macro is setting the custom property "PPVS" perfectly on the selected symbols, but it does not change the color as intended:

SUB PPVS_100_100_50_100
  'MACROMENU PPVS_100_100_50_100
  'MACROKEY CTRL+ALT+1
  'MACRODESCRIPTION
SetProperty "PPVS", "100 100 50 100"
SetProperty "Color", 8
UnSelectAll
END SUB

I have tried a lot of other syntaxes ("Color", "8";   "Color", "255,0,0",   etc.) and I just can't get it to work.

Obviously, my purpose is to set the PPVS value and change the color to red so that I know that the property is set on that component. Could someone please give me a clue? :)

Thanks,

John S.


Viewing all articles
Browse latest Browse all 5525

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>