Home > Community > Forums > PCB Design > How to Lock constraints

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 How to Lock constraints 

Last post Wed, Nov 27 2013 10:01 AM by mcatramb91. 4 replies.
Started by Prapz 25 Oct 2012 11:53 PM. Topic has 4 replies and 1440 views
Page 1 of 1 (5 items)
Sort Posts:
  • Thu, Oct 25 2012 11:53 PM

    • Prapz
    • Not Ranked
    • Joined on Sun, Oct 31 2010
    • Posts 7
    • Points 170
    How to Lock constraints Reply

    Hi ,

    I wanted to know if its possible to lock constraints in constraint Manager so that once constraints are set it will not be changed knowingly or unknowingly.

     

    Thank you

    Regards 

    Prasanth

    • Post Points: 65
  • Thu, Nov 21 2013 3:19 PM

    • RCG Jon
    • Not Ranked
    • Joined on Thu, Apr 5 2012
    • Posts 1
    • Points 5
    Re: How to Lock constraints Reply
    It would be nice to share and protect company IP.
    • Post Points: 5
  • Wed, Nov 27 2013 7:12 AM

    • ericchen
    • Not Ranked
    • Joined on Tue, Nov 5 2013
    • Posts 4
    • Points 35
    Re: How to Lock constraints Reply
    once you changed the constraints,its color also changed,it is easy for you to check i think.
    • Post Points: 5
  • Wed, Nov 27 2013 8:19 AM

    • steve
    • Top 10 Contributor
    • Joined on Fri, Jul 18 2008
    • Woking, Surrey
    • Posts 1,054
    • Points 16,975
    Re: How to Lock constraints Reply

    There currently doesn't appear to be a way to lock constraints but you could set the constraints then use File - Export - Constraints and save them out to a tcf file. Finish the board (or get the board complete) then use the Tools - Technology File Compare option to compare the design database with the technology file you exported earlier.

    • Post Points: 5
  • Wed, Nov 27 2013 10:01 AM

    • mcatramb91
    • Top 75 Contributor
    • Joined on Thu, Jan 3 2013
    • Chelmsford, MA
    • Posts 82
    • Points 4,690
    Re: How to Lock constraints Reply

    Hello,

    There is an object flag inside of an exported Technology File that can be set to lock the constraints inside of Constraint Manager.  By default, the object flag is present by default and set to the "NOTReadOnly" setting. 

    Here is an example of what the object flag looks like:
            <objectFlag>fObjectReadOnly</objectFlag>

    It is a pretty simply process:
    1) Export the Technology file from inside of Constraint Manager using File > Export > Technology File.
    2) Open the Technology file in a text editor and replace "fObjectNOTReadOnly" with "fObjectReadOnly".
    3) Import the Technology file back into Constraint Manager using File > Import > Technology File.

    Performing these steps will lock the Constraints in Constraint Manager and it will prevent making changes knowingly or unknowingly.

    There is more information in the Cadence Help Documentation, just search for "Locking Constraint Sets".

    Hope this helps,
    Mike Catrambone

    • Post Points: 5
Page 1 of 1 (5 items)
Sort Posts:
Started by Prapz at 25 Oct 2012 11:53 PM. Topic has 4 replies.