de_define_edge_area_port()

Modifies a circle, path, polygon, rectangle to become a area port or modifies a polyline or arc to become a edge port. Edge and area ports must be associated with a Port. To create a Port, see de_draw_port() or de_define_port(). Returns: none.

Syntax:

de_define_edge_area_port(dgHandle, portNumber);

where

dgHandle is the handle to a data group, as returned from the creation of a circle, path, polygon, rectangle, polyline, or arc. See de_add_arc1(), de_add_arc2(), de_add_arc3(), de_add_arc4(), de_add_path(), de_add_circle(), de_add_rectangle(), de_draw_arc1(), de_draw_arc2(), de_draw_arc3(), de_draw_arc4(), de_draw_circ(), de_draw_rect(), and de_end().

portNumber is the port number of the corresponding Port that this edge or area port is associated with.

Example:
// Place a Port 1 and an associated area pin on layer 2
de_set_layer(2);
de_draw_port(0,0,-90,NULL,1);
decl dgHandle = de_draw_rect(0,0, 10,20);
de_define_edge_area_port(dgHandle,1);

Where Used:

Layout

 

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

Contents
Additional Resources