db_get_rep_db_factor()

Returns the conversion factor of database units per layout unit. For a layout resolution 0.001, this factor is 1,000/layout unit. For a resolution of 0.1, this factor is 10/layout unit. Note that the actual choice of layout unit does not affect the value of this factor.

Note
db_get_rep_db_factor() should not be used in layout artwork macros. It will create artwork size that is a function of the layout database resolution, which can lead to undesirable scaling of the artwork.

Syntax:

db_get_rep_db_factor(repHandle);

where

repHandle is the handle of a design representation, as returned from db_get_rep().

Example:
decl conFact;
decl repH;
repH = db_get_current_design_rep();
conFact = db_get_rep_db_factor(repH);

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.

Get Path Info
Polygons to Circles
Polylines to Polygons

Where Used:

Schematic, Layout

 

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

Contents
Additional Resources