Home > Community > Forums > Digital Implementation > command for deleting Regions

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: *

 command for deleting Regions 

Last post Mon, Jul 26 2010 8:48 AM by surajece01. 2 replies.
Started by surajece01 22 Jul 2010 08:43 PM. Topic has 2 replies and 1372 views
Page 1 of 1 (3 items)
Sort Posts:
  • Thu, Jul 22 2010 8:43 PM

    command for deleting Regions Reply

    Hi All,

    Does anybody know what is the command for deleting regions in encounter.

    Regards

    suraj

     

     

      

     

    • Post Points: 20
  • Mon, Jul 26 2010 7:37 AM

    • BobD
    • Top 25 Contributor
    • Joined on Fri, Jul 11 2008
    • Chelmsford, MA
    • Posts 247
    • Points 9,325
    Re: command for deleting Regions Reply

    In Encounter, regions are one type of placement constraint.  Other types are Guides, Fences, and Soft Guides.  The terminology is a little inconsistent depending on how you approach the problem (ie, by way of the GUI or by TCL commands or by db access commands) so I can see where this can be a confusing area.  So thanks your question- I'm sure others have been stumped by this as well.

    If you see a region in the floorplan and you'd like to delete it, you can select it with the mouse (by clicking on it with the left mouse button or via an area selection) -or- with the selectModule command which takes a hierarchical instance name as an argument.  Once you've selected all the regions you want to delete, you can delete them by hitting the delete key on the keyboard.

    If you want to delete all of the floorplan constraints in the design (regardless of whether they're guides, regions, or fences) you can go to Floorplan->Clear Floorplan->Specified Objects->Floorplan Guides.  This is the same as the TCL command "unplaceAllGuides".

    If you wanted to delete just the regions using only GUI mechanisms, you could select all of the regions with the Edit->Find/Select Object form by searching/selecting all Modules of Constraint Type "Region" and then clearing them out with Floorplan->Clear Floorplan->Selected.

    Or, if you wanted a more TCL-based approach try something like this where we select all of the hinsts that are regions and then delete them:

    deselectAll
    dbSelectObj [dbGet [dbGet top.fplan.bndrys.type region -p].hinst]
    deleteSelectedFromFPlan

    Hope this helps,
    Bob

    • Post Points: 20
  • Mon, Jul 26 2010 8:48 AM

    Re: command for deleting Regions Reply

    Thanks Bob,

    I was looking for the last option you have mentioned. Its working.

    Regards

    suraj

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by surajece01 at 22 Jul 2010 08:43 PM. Topic has 2 replies.