• 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. Custom IC SKILL
  3. Enabling user environment customization using group setup...

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 143
  • Views 17307
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Enabling user environment customization using group setup files

jaleco
jaleco over 12 years ago

Can anyone offer insight into how to enable individual users to customize their environments when working in multiple projects, each project having multiple users, and each project having its own setup files?

Is there a specific PATH order that setup files will be loaded in, such that person A can maintain their own setup files that will be loaded before the group/project setup files, and independent of person B's personal setup files so that there are no collisions?

Or if not, is this something that could be coded into the setup files, to look for personal setup files on startup, and append them to the group/project setup file content?

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Probably worth reading the Cadence Application Infrastructure Guide, particularly the sections which talk about the Cadence Search File mechanism (also referred to as setup.loc) and the csfLookupConfig file. It depends to some extent which file you're talking about, but this manual covers most of it. 

    Regards,

    Andrew 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillUser
    skillUser over 12 years ago

    I will add a small note to what Andrew has mentioned above.  You tagged your post with ".cdsenv" and ".cdsinit" so I will comment on these files.  By default the search mechanism for these files does not follow the CSF - the "caiuser" document that Andrew mentions tells you how to create a csfLookupConfig file to include these files in the CSF lookup mechanism. You can set the CDS_LOAD_ENV environment variable to control how the .cdsenv files are found and loaded, and this can have the value "CSF" which would have the same effect, but this would not alter how .cdsinit files are found.

    Hopefully the documentation covers what you need to know.

    Best regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • jaleco
    jaleco over 12 years ago

    Thanks Andrew,

    I will read up on that section.

    This is related to a previous Post - "Open Layout View to spec'd Configuration" -

    /forums/p/25853/1322453.aspx#1322453

    I am trying to support multiple users with different monitor configurations (and preferences of course) to personalize their desktops without colliding with multiple, existing project setup files....which are mostly default as far as window configurations, but otherwise distinct from project to project.

    I can modify any given project's setup files for window layout to suit one user, but not more than one user.  I am referring to the CIW, LSW, Lib Mgr and Layout viewer when I say window layout.  For example, I can define the default Layout window size and location in the .cdsenv file, but that is a project-specific file.  I can define the CIW size and location in the .cdsinit, but that is also a project-specific file.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • jaleco
    jaleco over 12 years ago

    Lawrence,

    thank you for the added info.  I will definitely read up what I can find on this.

    Thank you both once again.

    - James

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • jaleco
    jaleco over 12 years ago

    Hi Lawrence,

    I am using a project-specific csfLookupConfig file, which has the following statements in it:

    INCLUDE .cdsinit

    INCLUDE .cdsenv

    I added INCLUDE statements for personal files -

    INCLUDE $HOME/.cdsenv

    INCLUDE $HOME/.cdsinit

    The $HOME/.cdsenv appears to get loaded, as it defines the size and location of the newly opened layout views using a leWindowBBox() setting, and this seems to work.

    However, the $HOME/.cdsinit file does NOT appear to be loaded, and this file defines the CIW with a hiResizeWindow() statement, and it is not taking effect.

    You did say the csfLookupConfig file would not work for the .cdsinit file, but I am confused how the project setup is successfully using it?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

     James,

    That's not the way that the csfLookupConfig works. It controls whether a type of file is found using the CSF mechanism or not, and doesn't tell it locations where to find/read a file.

    So if you have:

    INCLUDE .cdsenv
    INCLUDE .cdsinit

    it tells it that both of these files will look in the setup.loc locations for each file - that is not the default behaviour for these files (for historical reasons, because both files pre-date the CSF mechanism being introduced).

    With .cdsenv, it will load all the files that it finds in setup.loc locations, with the top-most entry in the setup.loc winning over the lower level entries - so that the first is the most-specific.

    With the .cdsinit, it loads the first file found only. If you want to load the others, you'd need to carry on the search yourself for other locations to load from, but you can encode that in some central .cdsinit yourself to have the logic where to look.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • jaleco
    jaleco over 12 years ago

    Got it, thanks Andrew, it is all working now.

    Thank you so much for the clarification.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • jaleco
    jaleco over 12 years ago
    PS - all good and automated now except for the LSW that is....still haven't found how to define its size and location other than typing a command into the CIW or programming a bindkey to execute a command to set its size...
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    There's a cdsenv to control the LSW placement (this is for IC5141, I assume, since LSW is replaced by the Layer Palette now) for Layout XL:

    layoutXL lswWindow string "((0  0) (0  0))"

    If my memory is correct, users can also set the size using an Xdefault:

     Opus.LSWGeometry: 200x500+100+100

    I've not tried this in a very long time though...

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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