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

OrCAD Capture TCL script to set variant view.

$
0
0

Hi,

I am using OrCAD Capture CIS 17.4.

I have not found a way to variant steer the Titleblock properties (except <Variant Name>) so I am working on a tcl script that can do this for me.

My approach is to change the value fields of the titleblock properties with respect to the active variant.

I have found the functions called "GetActiveVariant" and "SetActiveVariant" but I do not understand how they're working. I have tried to use them to change the variant view of my schematics with no success.

If I read the CLI with the "show journaling" setting on, I can get a command that changes my variant view. The problem is that the command is using a path to an .xml file which seems to be stored in a Temp folder on my local user and I need the script to work for an arbitrary user.

Does anyone have any experience of something similar?

Best regards,

Alexander


Viewing all articles
Browse latest Browse all 5525

Trending Articles



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