reference_palette_group()

Creates a new palette group for the current design type by reference to an existing component group for another design type. Since groups are associated with the window by the type of design displayed in the window, the desired type of design must be indicated by a call to set_design_type() prior to calling this function. The new group will be an alias for the existing group, and not a separate group, so the list of components for the group is not duplicated. An attempt to add components using de_define_palette_group() to a group created using this function is ignored, but adding components to the referenced group affects all groups referencing it as well. The group created by calling this function will be a palette group, but may refer to either a library or palette group for another design type. Returns: none.

See also: reference_library_group(), de_define_palette_group(), set_design_type().

Syntax:

reference_palette_group( name, design_type, palette_flag[,bToFront]);

where

name is the name of referenced group.

design_type is the design type code for the referenced group.

palette_flag is a flag indicating whether the referenced group is a library or palette group, where:

  • 0 = library (default)
  • 1 = palette

bToFront is optional boolean flag. If TRUE, the group will be added to the front of the palette group list. If FALSE (the default), the group will be added to the end of the palette group list.

Example:
set_design_type( librabenlin );
reference_palette_group( "Project Circuit", libranet, 0 );
Where Used:

Schematic

 

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

Contents
Additional Resources