Print Page | Close Window

How to make a batch output an alternative.

Printed From: PCB Libraries Forum
Category: Libraries
Forum Name: CADSTAR
Forum Description:
URL: https://www.PCBLibraries.com/forum/forum_posts.asp?TID=726
Printed Date: 25 Nov 2024 at 2:38am


Topic: How to make a batch output an alternative.
Posted By: Matthew Lamkin
Subject: How to make a batch output an alternative.
Date Posted: 03 Dec 2012 at 9:06am
Just a tip for those CADSTAR usersthat want to be able to batch output parts in Least, Nominal & Maximum dimensions and have a single component name but each different sized version of it as an alternative footprint.
(This is so that it can easily be selected within a design and changed I.E. when going from a prototype with Maximum to Least for production etc).

Output your batch with the environment setting as required and the component name will have L, N or M at the end of it.

Open the .CPA file within notepad and use search and replace for the following.
The text to search/replace is within the quote.

Least
Find
Quote L" ""
replace with
Quote " "L"

Nominal
Find
Quote N" ""
replace with
Quote " "N"

Maximum
Find
Quote M" ""
replace with
Quote " "M"


And save the .cpa file and import as usual.

Then you will get alternatives for each output.



Print Page | Close Window