Use of the SKILL Operator ~> with FigGroups
You can use the SKILL Operator ~> to query the design for FigGroups. Here are some examples.
To check if the specified instance or database ID is in the FigGroup, use the following command:
If the output is not nil, it means that the specified instance or database ID already exists in the FigGroup.
To check the type of the FigGroup, use the following command:
Valid values for this command are "syncClone", "modgen", or "none".
Use the following command to check what the FigGroup contains. For example, you might want to check whether it contains instances, or only shapes.
Suppose the FigGroup contains instances, you can further query based on your requirements in the following way:
insts = setof(x fg~>members x~>objType == "inst")
- dbMakeFigSetGroup
- dbFindFigSetGroup
- dbFindFigSetGroupByName
- dbGetFigSetGroupName
- dbGetCellViewFigSetGroups
- dbIsFigSetGroup
- dbDeleteFigSetGroup
Related Topics
Return to top