de_set_item_id()

Sets the ID of the item that is either being readied to be placed (from de_init_item() ) or is being placed (from de_edit_item() ). Returns: none.

See also: de_init_item(), de_place_item(), de_free_item(), de_set_item_parameters(), de_edit_item(), de_end_edit_item().

Syntax:

de_set_item_id(itemP, id);

where

itemP is a pointer to the item structure (the return value of de_init_item() and de_edit_item()).

id is the new unique id for the instance.

Example:
// Initialize a resistor
decl itemInfoOSP = de_init_item("R");
// Set the resistor id
de_set_item_id(itemInfoOSP, "R99");
// Place the resistor
de_place_item(itemInfoOSP, 0.125, -1.625);
// Free the resistor item
itemInfoOSP = de_free_item(itemInfoOSP);

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.
PI Attenuator

Where Used:

Schematic, Layout

 

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

Contents
Additional Resources