db_get_path_attribute()

Returns a path attribute, given a handle to the path and an attribute key.

Syntax:

db_get_path_attribute(pathHandle, pathAttribute);

where

pathHandle is a handle to a path.

pathAttribute is the path attribute can be one of the following:

  • PATH_WIDTH = Width of the path in user units
  • PATH_BEND= Type of path corner; returns one of the following
    • DB_MITERED_CORNER
    • DB_SQUARE_CORNER
    • DB_CURVED_CORNER
  • PATH_MITERRADIUS = If curved, the curve radius angle*1000
  • PATH_SEGMENT = Handle to segment list

Example:
if (db_get_dg_attribute(dgHandle, DG_TYPE)==PATH_DG_TYPE)
{
    decl pathHandle = db_get_dg_attribute(dgHandle, DG_DATA);
    decl corn = db_get_path_attribute(pathHandle, PATH_BEND);
}

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

Where Used:

Schematic, Layout

 

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

Contents
Additional Resources