To set the pin property flags.

syntaxSyntax:
DlxPin.SetPinFlags(flags)

Parameters

Parameter Description
flags Specify a combination of the following values:
DlxApp.PINFLAGS_DEFAULTS PINFLAGS_SHOWLINE|PINFLAGS_SHOWNUM|PINFLAGS_VNUM|PINFLAGS_SHOWNAME|PINFLAGS_VNAME|PINFLAGS_UPDATETEXT
DlxApp.PINFLAGS_UNCONNECTED When this option is enabled, it is specified that the pin is not electrically connected and should be ignored during the ERC.
DlxApp.PINFLAGS_SWAPPOSITION Allows you to exchange number and name positions.
DlxApp.PINFLAGS_HIDDEN In some components, such as those belonging to logical families, power supply pins may be hidden. Enabling this option specifies that the pin is hidden. When the netlist is created, all hidden pins are automatically connected to other hidden pins with the same name and to connections with the same name. This option only takes effect if the pin is included in a symbol. Free pins on a symbol definition page are always visible.
DlxApp.PINFLAGS_SHOWLINE When this option is enabled, the line connecting the two characteristic points of a pin is visible.
DlxApp.PINFLAGS_UPDATETEXT Indicates whether the name and pin number should be repositioned automatically when the pin is rotated.
DlxApp.PINFLAGS_SHOWNUM Determines whether the pin number is visible.
DlxApp.PINFLAGS_VNUM Specifies the orientation of the number when the pin is placed vertically.
DlxApp.PINFLAGS_SHOWNAME Determines whether the pin name is visible.
DlxApp.PINFLAGS_VNAME Specifies the orientation of the name when the pin is placed vertically.
DlxApp.PINFLAGS_BUS A pin with bus functionality represents a group of pins with a single graphic symbol. This type of pin allows the creation of simplified symbols in which all the pins corresponding to data or address lines are represented with a single pin.
DlxApp.PINFLAGS_MULTIPLE A multiple pin represents with a single graphic symbol a group of pins with the same electrical function. For example, some components have multiple ground line terminals (gnd) that are internally short-circuited.
DlxApp.PINFLAGS_GRAPHIXONLY If this option is active, the pin will be created without electrical functionality. A non-electric pin is only a graphic object and must be used when the symbol requires the presence of some pins for representative purposes only.
DlxApp.PINFLAGS_SHOWONLYFIRST When this option is enabled for a Multiple or Bus pin, only the first pin number is shown instead of showing all pin numbers.
DlxApp.PINFLAGS_IGNOREIFHIDDEN The pin is ignored if this option is enabled and the pin is hidden.
DlxApp.PINFLAGS_NOERC When this option is enabled, it is specified that the pin should be ignored during the ERC.

Return Value

If the operation ends correctly, it returns true otherwise it returns false.

Example

  Copy codeCopy code

See also