palaniappan-r's picture
Add html datasources
703f5e6 verified
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<!-- Meta -->
<meta name="Description" content="KLayout layout viewer and editor project page" />
<meta name="Keywords" content="KLayout OASIS GDS2 viewer editor layout semiconductor mask chip design" />
<meta name="abstract" content="KLayout is a free layout viewer and editor for several formats commonly used in the semiconductor industry to transfer layout data" />
<meta name="URL" content="https://www.klayout.de/" />
<meta name="Author" content="Matthias Koefferlein" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>KLayout Layout Viewer And Editor</title>
<!-- General -->
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://www.klayout.de/news.xml"/>
<link rel="stylesheet" type="text/css" href="https://www.klayout.de/format.css?v2.0"/>
<link rel="shortcut icon" href="https://www.klayout.de/favicon.ico"/>
<!-- Fonts -->
<link rel="stylesheet" type="text/css" href="https://www.klayout.de/fonts.css"/>
<!-- jQuery -->
<script src="https://www.klayout.de/jquery-3.4.1.min.js"></script>
<!-- bootstrap -->
<link href="https://www.klayout.de/bootstrap-4.3.1-dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://www.klayout.de/bootstrap-4.3.1-dist/js/bootstrap.min.js"></script>
<link href="/generated-doc.css" rel="stylesheet">
<link href="/search.css" rel="stylesheet">
<script src="/klayout-search.js"></script>
</head>
<body>
<div class="klayout-header">
<div class="container mb-5">
<nav class="navbar navbar-dark navbar-expand-lg">
<a class="navbar-brand" href="https://www.klayout.de"><img src="https://www.klayout.de/klayout.png" srcset="https://www.klayout.de/klayout-x2.png 2x" alt="KLayout"></a>
<div class="collapse navbar-collapse" id="navbarToggleExternalContent">
<ul class="navbar-nav ml-auto mr-auto">
<li class="nav-item dropdown active mr-4">
<a class="nav-link dropdown-toggle klayout-menu" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
About
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="https://www.klayout.de/intro.html">KLayout Project</a>
<a class="dropdown-item" href="https://www.klayout.de/doc.html">Documentation</a>
<a class="dropdown-item" href="https://www.klayout.de/galleries.html">Galleries</a>
<a class="dropdown-item" href="https://www.klayout.de/credits.html">Credits</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="https://www.klayout.de/contact.html">Contact</a>
<a class="dropdown-item" href="https://www.klayout.de/impressum.html">Impressum / Imprint</a>
<a class="dropdown-item" href="https://www.klayout.de/privacy_policy.html">Datenschutz / Privacy Policy</a>
</div>
</li>
<li class="nav-item active mr-4">
<a class="nav-link klayout-menu" href="https://www.klayout.de/build.html">Get KLayout</a>
</li>
<li class="nav-item active mr-4">
<a class="nav-link klayout-menu" href="https://sami.klayout.org">Package Index</a>
</li>
<li class="nav-item active mr-5">
<a class="nav-link klayout-menu" href="https://www.klayout.de/forum">Forum</a>
</li>
<li class="nav-item active">
<span class="nav-link klayout-menu">
<a href="https://f-si.org"><img src="https://www.klayout.de/f-si_logo_32h_w.png" border="0" title="Free Silicon Foundation" alt="F-Si"/></a>
<a class="ml-4" href="https://github.com/KLayout"><img src="https://www.klayout.de/GitHub-Mark-32px-white.png" border="0" title="KLayout on GitHub" alt="GitHub"/></a>
</span>
</li>
</ul>
</div>
<!-- collapse button -->
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarToggleExternalContent" aria-controls="navbarToggleExternalContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
</nav>
</div>
</div>
<div class="container">
<form class="search">
<div class="input-group">
<input id="search-text" class="form-control" type="text" onkeydown="klayoutSearchTextChanged()">
<div class="input-group-append">
<button class="btn btn-secondary" type="submit" id="search-button" onclick="klayoutSearchClicked(5); event.returnValue = false; return false">Search</button>
</div>
</div>
</form>
<div id="search-result">
<div class="search-results-close-box" onclick="klayoutSearchCloseClicked()"></div>
<div id="search-results-container">
</div>
</div>
<div class='klayout-generated-doc'><p class="navigator"><b>KLayout Documentation (Qt 5): </b><a href="../index.html">Main Index</a> » <a href="index.html">KLayout User Manual</a> » <a href="basic.html">KLayout Basics</a> » Selecting Rulers, Shapes Or Instances</p><h1>Selecting Rulers, Shapes Or Instances</h1><a name="k_1"></a><a name="k_2"></a><a name="k_3"></a><p>
Rulers, images, shapes or instances can be selected by either clicking on the shape, instance, ruler or image in &quot;Select&quot; mode or
by dragging a selection rectangle with the left mouse button pressed. In this case,
all objects inside the selection rectangle will be selected.
</p><p>
Pressing the Shift key in addition to selecting shapes, instances or other objects will extend the current
selection. Pressing Ctrl key will remove the given objects from the selection.
</p><p>
For layout objects (shapes and instances), it is possible to select the objects through the hierarchy or
on the level of the current cell only (top level objects only). By default, objects are selected through the
hierarchy. That means, objects in child cells can be selected. By extending the selection over multiple
instances of a cell, the same object can be selected multiple times. While editing objects inside a
child cell may be a desirable feature, this can lead to confusing effects in the end. Hence, it may
to more intuitive to only work on top level, i.e. on the current cell. To enable this mode, check
the &quot;Select Top Level Objects Only&quot; menu item in the &quot;View&quot; menu or the same in the edit mode options
dialog (F3).
</p><p>
In top-level only mode, instances of cells are selected only if the cells have a visual appearance.
This is the case, if they contain at least one shape on a visible layer for example. If they
are empty with respect to the visible layers, they cannot be selected. If the cell's box is shown, because
the hierarchy levels shown are confined a sufficiently small interval, the cell instances will always be selected.
</p><p>
Images and rulers are simple objects not embedded in a hierarchy and can be selected by clicking at them or enclosing them in
the selection box.
</p><p>
Object properties can be inspected or edited (if allowed) by opening the properties dialog.
To edit or inspect the properties of selected objects, choose &quot;Properties&quot; from the &quot;Edit&quot; menu.
A dialog will open which shows the properties for the first selected object. To proceed to the next object
push the &quot;Next&quot; button, to go back to the previous object push the &quot;Previous&quot; button.
</p><p>
Depending on the application mode, the properties of the selected objects may be edited too.
To apply changes to the current object, choose &quot;Apply&quot;. To apply the changes and close the dialog,
choose &quot;Ok&quot;. To apply the changes to the current object and all other selected objects of the same kind, choose &quot;Apply To All&quot;
(if applicable). To close the dialog without applying any changes, choose &quot;Cancel&quot;.
</p><p>
&quot;Apply To All&quot; will try to apply the changes in some smart way to other objects. For example, for
boxes, and change of the box dimensions will be applied in the same way (same shift in the four directions)
than for the current object. If the width of a path has been changed, the same width will be applied
to all other paths and so forth.
</p><p>
For shapes and instances, the &quot;User properties&quot; can be edited too. &quot;User properties&quot; are arbitrary
properties attached to shapes and instances. They consist of a key (preferably a number for GDS2 compatibility)
and a value (preferably a string in GDS2). Multiple properties of that kind can be attached to one
object. User properties can be edited by pushing the &quot;User Properties&quot; button which will open a
dialog that allows editing of the properties. If this dialog is closed with &quot;Ok&quot;, the user properties
will be kept, but applied to the layout object only after pressing &quot;Apply&quot;/&quot;Ok&quot; or &quot;Apply To All&quot;.
The latter will apply the new properties to all other shapes of the same kind.
</p><p>
Finally, for shapes and instances, the &quot;Instantiation&quot; button will show the instantiation path of
the shapes or instances.
</p><p>
The layer of a shape cannot be changed through the properties dialog. To move a shape to a
different layer, use &quot;Change Layer&quot; from the &quot;Selection&quot; sub-menu in &quot;Edit&quot;.
</p></div>
</div>
</body>
</html>