Quantcast
Channel: Cadence PCB Skill Forum
Viewing all articles
Browse latest Browse all 2154

Variant STEP Export using Skill

$
0
0

Hello,

I'm looking for a way to export each variant to a seperate step-file. I have not found a custom solution to this problem,
so I tried to solve this problem using skill.

My idea was:

- reading the variant.lst and getting all variants and the associated components
- selecting the components with "axlAddSelectName("SYMBOL" l_names)"
- and export the step using a script, with the option: Parts -> "Selected and highlighted parts only"

The first strange behavior is, that the axlAddSelectName(...) always returns "nil" unless I call
axlSelectByName("SYMBOL" ...) and axlClearSelSet() before ...

But the more confusing behavior is, that all selected parts (selected with the function call) are deselected when the export menu is opened...

Is the a more simply solution for my problem? Or can anybody help, what to do, to keep the selection valid for the export process?

Thank you for your help in advance!

Regards,

Julian


Viewing all articles
Browse latest Browse all 2154


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