• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X Scripting - Skill
  3. axlUnsetVariableFile -> delete variable in ENV file

Stats

  • Replies 1
  • Subscribers 18
  • Views 642
  • Members are here 0
More Content

axlUnsetVariableFile -> delete variable in ENV file

Vojtech
Vojtech over 7 years ago

Hello,

I want to delete library paths (psmpath) in ENV file. String of library paths are longer than 511 characters. If  skill axlUnsetVariableFile("psmpath") is used, rest of library paths stay in ENV file -> Size of ENV file can be increased every time if this command is used (library paths are defined over 511 characters).

Question is how can I delete library pahts (psmpath) in ENV file by skill where is string longer than 511 characters.


Many Thanks,

Ondracek Vojtěch

  • Sign in to reply
  • Cancel
  • andakConsultingLtd
    andakConsultingLtd 4 months ago

    Hi Ondracek, I don't understand why you want to delete the variable, maybe if you explain the reasons we can provide a better solution. psmpath is an esential variable needed for Allegro/OrCAD to locate the footprints. You can eitehr clean it if it contrains too many locations or set it to "", as suggested below.

    If your purpose is to supress it when it exceeds a certain amount of charactes, you can read it, check the lenght and then run your code.

    Instead of deleting it, you can set it to "" by using:


    axlSetVariable("psmpath" "")

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information