• 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. set default setting for ruler in IC6/12

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 1389
  • 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

set default setting for ruler in IC6/12

chrisn
chrisn over 12 years ago

Hi,

 

Anyone know what i can put in my init file to set some default settings for ruler?

I don't want rulers as a savable object, snap target none and not selectable.

I have the follwing in my .cdsinit, but it's not working

leSetObjectSelectable("ruler" nil )
leCreateRulerForm->rulerTabs->page1->rulerSavable->value= nil
leCreateRulerForm->rulerTabs->page1->rulerSnapTarget->value="None"

When i paste the in my ciw, it does the trick

any ideas? (I'm using IC12)

Chris

  • Cancel
Parents
  • skillUser
    skillUser over 12 years ago

     Hi Chris,

    This came up with another customer recently.  The command  leSetObjectSelectable("ruler" nil ) only works once the layer palette has been initialised (i.e. a layout is being displayed), and so it does not work in your .cdsinit.

    I developed the following workaround which should help you:

    
    procedure(CCFnoRulerFilter(obj)
       unless(obj~>objType=="ruler" t)
    )
    leRegUserObjectSelectionFilter("CCFnoRulerFilter")
    

    This would be global for a session, so you might choose to activate this on/off with bindkeys (the filter can be removed by: leUnregUserObjectSelectionFilter() - there is no function to see if a filter is set or what the filter is, as far as I can tell).

    I filed CCR 1107225 for this problem, I suggest that you file a case with Customer Support and reference this CCR, requesting that it is fixed for you also - more requests allow R&D to know it is important for more than one customer, and they can prioritize accordingly.

    I hope this helps you!

    Regards,

    Lawrence.

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

     Hi Chris,

    This came up with another customer recently.  The command  leSetObjectSelectable("ruler" nil ) only works once the layer palette has been initialised (i.e. a layout is being displayed), and so it does not work in your .cdsinit.

    I developed the following workaround which should help you:

    
    procedure(CCFnoRulerFilter(obj)
       unless(obj~>objType=="ruler" t)
    )
    leRegUserObjectSelectionFilter("CCFnoRulerFilter")
    

    This would be global for a session, so you might choose to activate this on/off with bindkeys (the filter can be removed by: leUnregUserObjectSelectionFilter() - there is no function to see if a filter is set or what the filter is, as far as I can tell).

    I filed CCR 1107225 for this problem, I suggest that you file a case with Customer Support and reference this CCR, requesting that it is fixed for you also - more requests allow R&D to know it is important for more than one customer, and they can prioritize accordingly.

    I hope this helps you!

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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