Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

mgIsInBackAnnotation

mgIsInBackAnnotation(
)
=> t / nil

Description

Checks if there are any Modgens currently running dummy backannotation. Use this function for user callbacks to allow changes to the Modgen constraint caused by backannotation, while preventing other changes to the Modgen constraint.

Argument

None

Value Returned

t

A Modgen is currently running dummy backannotation.

nil

No Modgen detected in backannotation.

Example

In the following procedure, the mgIsInBackAnnotation function is used in a template callback. If the backannotation process is running, then the dpCheck function returns true and the template constraints are permitted to be modified. Else, the function returns nil and prohibits the constraints from changing.

procedure(dpCheckCB(template
      @key (params nil)  
   (userParams nil) )
   mgIsInBackAnnotation()
   ); procedure

Return to top
 ⠀
X