Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: setFocus for a region

...

Code Block
languagepy
project.setAperture(6,8,14,12)
project.ajustAperture(2,3,2,2)
pproject.createRegion('region_0',7,8,9,10)
project.ajustAperture('region_0',2,3,2,2)

...

Arguments:

Name

Type

Description

region

string

the region name. It is an optional argument. By default, the focus is for the top region meaning the whole design.

column

unsigned

the focus abscissa. A valid ordinate value must respect the tile or CGB column coordinate which is available for the selected target variant in the current project.

row

unsigned

the focus ordinate. A valid ordinate value must respect the tile or CGB row coordinate which is available for the selected target variant in the current project.

...

Code Block
languagepy
project = createProject()
project.load('synthesize.nym')
project.setFocus(4, 4)

project.createRegion('region_0',7,8,9,10)
project.setFocus('region_0', 7, 7)

setGCKCount(count)

This method is used to limit the number of GCK at the end of Placing step 2.

...