[Automation/Exp] 디자인에 User Layer 추가 또는 초기화

Document created by nick_hong on Jan 2, 2014Last modified by nick_hong on Jan 2, 2014
Version 2Show Document
  • View in full screen mode

ExpeditionPCB에서 특정 user layer에 디자인 정보나 특정 문구를 자동으로 넣도록하는 Automation utility를 작성한다면 user layer를 생성(또는 초기화)하는 작업이 가장 선행되어야 할 것입니다.


첨부된 script를 실행하면 사용자 입력을 받아 PCB 디자인에 user layer를 생성하거나, 이미 존재하는 user layer라면 경고 메시지 후에 초기화시켜 줍니다. (모든 text와 graphic을 삭제)



아래 캡춰된 그림은 각각 user layer가 새로 추가되었을 때, user layer가 초기화되었을 때에 나타나는 dialog box 예제입니다.









// DISCLAIMER OF WARRANTY:  Unless otherwise agreed in writing,

// Mentor Graphics software and associated files are provided "as is"

// and without warranty.  Mentor Graphics has no obligation to support

// or otherwise maintain software.  Mentor Graphics makes no warranties,

// express or implied with respect to software including any warranty

// of merchantability or fitness for a particular purpose.


// LIMITATION OF LIABILITY: Mentor Graphics is not liable for any property

// damage, personal injury, loss of profits, interruption of business, or for

// any other special, consequential or incidental damages, however caused,

// whether for breach of warranty, contract, tort (including negligence),

// strict liability or otherwise. In no event shall Mentor Graphics'

// liability exceed the amount paid for the product giving rise to the claim.