Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

dbCreateSameMaskGroup

dbCreateSameMaskGroup(
d_cellView
t_groupName
)
=> d_group / nil

Description

Creates a same-mask, color shape group (d_group) in the specified cellview with the given name. The name must be unique amongst all same-mask groups in the cellview. You can only add shapes to the resulting group.

A same-mask, color shape group allows the user to specify a group of shapes on a layer that must be on the same color mask.

The same mask groups created by the dbCreateSameMaskGroup function are protected by default. They cannot be returned in collections (for example, cv~>groups).

Arguments

d_cellView

Specifies the cellview ID

t_groupName

Specifies the name of a group that is to be created

Value Returned

d_group

Returns the ID of the diff-mask group created

nil

Returns nil if an error occurs during execution

Example

groupMC1 = dbCreateSameMaskGroup( cvId "MC1Group" )
dbAddObjectToGroup( groupMC1 rectM1 )
dbAddObjectToGroup( groupMC1 circleM3 )

Related Information

dbGetSameMaskDiffMaskGroups


Return to top
 ⠀
X