Hi,
I want to generate CAM data for all variants in my design via a script.
In CAM/Plot list all generic plot items are set to Variant <Master Design>. Variant dependent plot items are set to <Current Variant>.
The following script shall activate one variant after the other and execute a plot run for each variant:
# Language: Python
for idx, va in enumerate(Application.ActiveDocument.Variants):
Application.ActiveDocument.SelectVariant(va.Name)
for idy, pl in enumerate(Application.ActiveDocument.CamPlots):
a = pl.Run()
Message("Created Plot " + str(pl.Name) + " : " + str(a))
The problem is, that pl.Run() always returns False and no output data is generated.
What did I miss?
Thanks.