PyANGKernel.GKSectionChangeNbLanesCmd

class GKSectionChangeNbLanesCmd

This command arises when the number of section lanes is modified

Inheritance diagram of PyANGKernel.GKSectionChangeNbLanesCmd

Inherited by: GKSectionLateralDelCmd

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

__init__()
setData(sec, nblanes[, oneLane=-1])
Parameters:
  • secGKSection

  • nblanes – int

  • oneLane – int

Sets the section to be affected by the command, the new number of lanes and optionally, the lane to be removed can be specified (if not, a middle lane will be removed and when not possible the right side lane will be removed)