de_add_rectangle()

Adds a rectangle to the current representation. Takes the lower left and upper right coordinate points. Returns a handle to the data group shape that was just created.

See also: de_add_polygon(), de_add_circle().

Syntax:

de_add_rectangle(x1,y1, x2,y2[, thickness]);

where

x1,y1 is the first corner describing window.

x2,y2 is the second (opposite) selection corner.

thickness is optional, where:

  • 1 = thin, default
  • 2 = medium
  • 3 = thick

Example:
de_add_rectangle(10,20, 30,40);
// Or to capture the data group handle
decl dgHangle = de_add_rectangle(10,20,30,40);

Download Example File:

The following link(s) lead to the Agilent EEsof EDA Knowledge center website. You will need to register at this site with a valid support contract to download an example file.
Generate SnP Component

Where Used:

Schematic, Layout

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources