de_new_design()

Creates a new, empty design. Depending on its type, different extensions are added automatically. When saved, the extension .dsn is added to all designs. Returns a handle to the new design, NULL if not successful.

Syntax:

de_new_design(designName, designCode);

where

designName is the name of the design to create

designCode is the unique code for each design type, as defined in stddefs.ael, such as libranet, analogRFnet or sigproc_net.

Example:
decl designP=de_new_design("aAmp", sigproc_net);
if(designP)
        de_show_design_in_window(designP, api_get_current_window());

Where Used:

Schematic, Layout

 

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

Contents
Additional Resources