It is currently Tue Sep 16, 2014 11:29 am

UPI Macro to Convert Boxes to Polygon

UPI Macro to Convert Boxes to Polygon

Postby Tanner_AE_SB » Thu Jun 14, 2012 9:54 am

This is for customers who are working with a mask shop that doesn’t support Boxes in the GDSII file.

void ConvertBoxesToPolygon(void)
{
LCell pCell = LCell_GetVisible();
LFile pFile = LCell_GetFile(pCell);
LWindow pWindow = LWindow_GetVisible();

if(Assigned(pWindow) && (LWindow_GetType(pWindow) == CELL_BROWSER))
pCell = LWindow_GetCell(pWindow);

LObject pObject = NULL;
LLayer pLayer;

for ( pLayer = LLayer_GetList(pFile); pLayer; pLayer = LLayer_GetNext(pLayer) )
{
for ( pCell = LCell_GetList(pFile); pCell; pCell = LCell_GetNext(pCell) )
{
for( pObject = LObject_GetList(pCell, pLayer); Assigned(pObject); pObject = LObject_GetNext(pObject))
{
if(LObject_GetShape(pObject) == LBox)
{
LObject_ConvertToPolygon( pCell, &pObject, 1 );
}
}
}
}
LDisplay_Refresh();
}
Tanner_AE_SB
 
Posts: 32
Joined: Thu Jun 07, 2012 2:37 pm

VcQgLSYmKLSqErYmzI

Postby Talita » Sat Oct 06, 2012 5:03 pm

Solo a trave9s de pensar se toman las dciiseones del amor EXCELENTE..!!! Una filosofeda de vida que cueste tal vez internalizar pero una vez logrado las satisfacciones vivenciadas son incomparables
Talita
 


Return to UPI and TCL scripts

Who is online

Users browsing this forum: No registered users and 1 guest


Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 35 on Thu Jan 09, 2014 2:15 am

Users browsing this forum: No registered users and 1 guest

Login Form