de_free_item()
Frees the data structure created by de_init_item() when it is no longer needed. Returns: NULL.
See also: de_init_item(), de_place_item(), de_set_item_id(), de_set_item_parameters(), de_edit_item(), de_end_edit_item().
Syntax:
de_free_item(itemP);
where
itemP is a pointer to the item structure (the return value of de_init_item() ).
Example:
// Initialize a resistor item decl itemInfoOSP = de_init_item("R"); // Place the resistor de_place_item(itemInfoOSP, 0.125, -1.625); // Free the resistor item itemInfoOSP = de_free_item(itemInfoOSP); /* You should set the variable initialized in the de-init_item step to the return value of the de_free_item so it resets to NULL. This allows future de_place_item()'s with the no longer valid variable to behave as NOPs (not do anything). */
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.
Export all Variables
PI Attenuator
Where Used:
Schematic, Layout
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()