mptMarkersToMaskColors
mptMarkersToMaskColors(l_purposes g_drawingPurpose d_cellViewID[g_locked] [g_removeMarker] [g_recolorAll] [g_save] ) => t / nil
Description
Transforms the shapes in the given cellview to the drawing purpose and assigns color to each shape based on its original marker purpose. This function works hierarchically on a layout. By default, the assigned color is locked and the marker purpose shapes are removed.
Arguments
Values Returned
Example
mptMarkersToMaskColors( list( "boundary" "fill" "hole" ) "drawing" geGetEditCellView() )
Transforms the shapes in the current edit cellview on boundary, fill, and hole purposes to the drawing purpose and assigns them mask1Color, mask2Color, and mask3Color, respectively. The color state for the transformed shapes is locked and the marker purpose shapes are removed.
mptMarkersToMaskColors( list( "boundary" "hole" ) "drawing" geGetEditCellView() nil nil)
Transforms the shapes in the current edit cellview on boundary and hole purposes to the drawing purpose and assigns them mask1Color and mask2Color, respectively. The color state for the transformed shapes is unlocked and the marker purpose shapes are not removed.
Return to top