db_free_points()
Frees the list of points created with db_segment_to_points. This should be done when the point list is no longer needed. Returns: none.
Syntax:
db_free_points(pointHandle);
where
pointHandle is a list of points returned from db_segment_to_points() or db_first_point().
Example:
defun free_points()
{
decl designHandle,dgtype,rep,mask,dg,segH,pntH,fpoint;
designHandle = db_get_design(de_current_design_name() );
rep=db_get_rep(designHandle,REP_SCHEM);
mask=db_first_mask(rep);
dg=db_first_dg(mask);
dgtype=db_get_dg_attribute(dg,DG_TYPE);
if (dgtype==POLYGON_DG_TYPE)
{
segH=db_get_dg_attribute(dg,DG_DATA);
db_first_segment(segH);
pntH=db_segment_to_points(segH);
db_free_points(pntH);
}
}
Where Used:
Schematic, Layout
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()