I have to generate M1 layer under M2 in layout.
figList2= dbGetOverlaps(cv list(car(pts) car(pts)) list("M2" "drawing") 32 t)
dbLayerSize(cv list("M1" "drawing") figList2 -0.08)
It works well for M2 layers in present level. Doesn't works for hirerchy M2 layers. Please help me.
You probably need to copy the shapes from the lower cells to the top level before sizing them. For example:
procedure(abGetOverlapShape(overlap) if(listp(overlap) then abGetOverlapShape(cadr(overlap)) else overlap ))
flattenendFigList2=foreach(mapcar overlap figList2 srcShape=abGetOverlapShape(overlap) dbCopyFig(srcShape cv dbGetHierPathTransform(overlap)))
Once you've sized them, you might want to delete these flattened shapes.
Thank you very much Andrew. It's working now. I have used dbConcatTransform command for every level instead of dbGetHierPathTransform because of 5141 version.