QOpcUaNodeCreationAttributes#

This class manages attribute values for node creation. More

Inheritance diagram of PySide6.QtOpcUa.QOpcUaNodeCreationAttributes

Synopsis#

Functions#

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

Detailed Description#

This class holds values for node attributes that are passed to the server when creating a new node in the OPC UA address space.

The following node attributes are supported by the different node classes:

Attribute

Object

Variable

Method

ObjectType

VariableType

ReferenceType

DataType

View

AccessLevel

X

ArrayDimensions

X

X

ContainsNoLoops

X

DataType

X

X

Description

X

X

X

X

X

X

X

X

DisplayName

X

X

X

X

X

X

X

X

EventNotifier

X

Executable

X

Historizing

X

InverseName

X

IsAbstract

X

X

X

X

MinimumSamplingInterval

X

Symmetric

X

UserAccessLevel

X

UserExecutable

X

UserWriteMask

X

X

X

X

X

X

X

X

Value

X

X

ValueRank

X

X

WriteMask

X

X

X

X

X

X

X

X

See also

addNode()

class PySide6.QtOpcUa.QOpcUaNodeCreationAttributes#

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes(other)

Parameters:

otherPySide6.QtOpcUa.QOpcUaNodeCreationAttributes

Constructs a node creation attributes object with the values of other.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.accessLevel()#
Return type:

AccessLevel

Returns the value for the AccessLevel attribute.

See also

setAccessLevel()

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.arrayDimensions()#
Return type:

Returns the value for the ArrayDimensions attribute.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.containsNoLoops()#
Return type:

bool

Returns the value for the ContainsNoLoops attribute.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.dataTypeId()#
Return type:

str

Returns the value for the DataType attribute.

See also

setDataTypeId()

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.description()#
Return type:

PySide6.QtOpcUa.QOpcUaLocalizedText

Returns the value for the Description attribute.

See also

setDescription()

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.displayName()#
Return type:

PySide6.QtOpcUa.QOpcUaLocalizedText

Returns the value for the DisplayName attribute.

See also

setDisplayName()

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.eventNotifier()#
Return type:

EventNotifier

Returns the value for the EventNotifier attribute.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.executable()#
Return type:

bool

Returns the value for the Executable attribute.

See also

setExecutable()

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.hasAccessLevel()#
Return type:

bool

Returns true if a value for the AccessLevel attribute is set.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.hasArrayDimensions()#
Return type:

bool

Returns true if a value for the ArrayDimensions attribute is set.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.hasContainsNoLoops()#
Return type:

bool

Returns true if a value for the ContainsNoLoops attribute is set.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.hasDataTypeId()#
Return type:

bool

Returns true if a value for the DataType attribute is set.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.hasDescription()#
Return type:

bool

Returns true if a value for the Description attribute is set.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.hasDisplayName()#
Return type:

bool

Returns true if a value for the DisplayName attribute is set.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.hasEventNotifier()#
Return type:

bool

Returns true if a value for the EventNotifier attribute is set.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.hasExecutable()#
Return type:

bool

Returns true if a value for the Executable attribute is set.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.hasHistorizing()#
Return type:

bool

Returns true if a value for the Historizing attribute is set.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.hasInverseName()#
Return type:

bool

Returns true if a value for the InverseName attribute is set.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.hasIsAbstract()#
Return type:

bool

Returns true if a value for the IsAbstract attribute is set.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.hasMinimumSamplingInterval()#
Return type:

bool

Returns true if a value for the MinimumSamplingInterval attribute is set.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.hasSymmetric()#
Return type:

bool

Returns true if a value for the Symmetric attribute is set.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.hasUserAccessLevel()#
Return type:

bool

Returns true if a value for the UserAccessLevel attribute is set.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.hasUserExecutable()#
Return type:

bool

Returns true if a value for the UserExecutable attribute is set.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.hasUserWriteMask()#
Return type:

bool

Returns true if a value for the UserWriteMask attribute is set.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.hasValue()#
Return type:

bool

Returns true if a value for the Value attribute is set.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.hasValueRank()#
Return type:

bool

Returns true if a value for the ValueRank attribute is set.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.hasWriteMask()#
Return type:

bool

Returns true if a value for the WriteMask attribute is set.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.historizing()#
Return type:

bool

Returns the value for the Historizing attribute.

See also

setHistorizing()

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.inverseName()#
Return type:

PySide6.QtOpcUa.QOpcUaLocalizedText

Returns the value for the InverseName attribute.

See also

setInverseName()

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.isAbstract()#
Return type:

bool

Returns the value for the IsAbstract attribute.

See also

setIsAbstract()

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.minimumSamplingInterval()#
Return type:

double

Returns the value for the MinimumSamplingInterval attribute.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.setAccessLevel(accessLevel)#
Parameters:

accessLevelAccessLevel

Sets the value for the AccessLevel attribute to accessLevel.

See also

accessLevel()

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.setArrayDimensions(arrayDimensions)#
Parameters:

arrayDimensions

Sets the value for the ArrayDimensions attribute to arrayDimensions.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.setContainsNoLoops(containsNoLoops)#
Parameters:

containsNoLoops – bool

Sets the value for the ContainsNoLoops attribute to containsNoLoops.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.setDataTypeId(dataTypeId)#
Parameters:

dataTypeId – str

Sets the value for the DataType attribute to dataTypeId.

See also

dataTypeId()

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.setDescription(description)#
Parameters:

descriptionPySide6.QtOpcUa.QOpcUaLocalizedText

Sets the value for the Description attribute to description.

See also

description()

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.setDisplayName(displayName)#
Parameters:

displayNamePySide6.QtOpcUa.QOpcUaLocalizedText

Sets the value for the DisplayName attribute to displayName.

See also

displayName()

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.setEventNotifier(eventNotifier)#
Parameters:

eventNotifierEventNotifier

Sets the value for the EventNotifier attribute to eventNotifier.

See also

eventNotifier()

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.setExecutable(executable)#
Parameters:

executable – bool

Sets the value for the Executable attribute to executable.

See also

executable()

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.setHistorizing(historizing)#
Parameters:

historizing – bool

Sets the value for the Historizing attribute to historizing.

See also

historizing()

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.setInverseName(inverseName)#
Parameters:

inverseNamePySide6.QtOpcUa.QOpcUaLocalizedText

Sets the value for the InverseName attribute to inverseName.

See also

inverseName()

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.setIsAbstract(isAbstract)#
Parameters:

isAbstract – bool

Sets the value for the IsAbstract attribute to isAbstract.

See also

isAbstract()

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.setMinimumSamplingInterval(minimumSamplingInterval)#
Parameters:

minimumSamplingIntervaldouble

Sets the value for the MinimumSamplingInterval attribute to minimumSamplingInterval.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.setSymmetric(symmetric)#
Parameters:

symmetric – bool

Sets the value for the Symmetric attribute to symmetric.

See also

symmetric()

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.setUserAccessLevel(userAccessLevel)#
Parameters:

userAccessLevelAccessLevel

Sets the value for the UserAccessLevel attribute to userAccessLevel.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.setUserExecutable(userExecutable)#
Parameters:

userExecutable – bool

Sets the value for the UserExecutable attribute to userExecutable.

See also

userExecutable()

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.setUserWriteMask(userWriteMask)#
Parameters:

userWriteMaskWriteMask

Sets the value for the UserWriteMask attribute to userWriteMask.

See also

userWriteMask()

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.setValue(value[, type=QOpcUa.Types.Undefined])#
Parameters:
  • value – object

  • typeTypes

Sets the value for the Value attribute to value of type type.

See also

value()

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.setValueRank(valueRank)#
Parameters:

valueRankqint32

Sets the value for the ValueRank attribute to valueRank.

See also

valueRank()

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.setWriteMask(writeMask)#
Parameters:

writeMaskWriteMask

Sets the value for the WriteMask attribute to writeMask.

See also

writeMask()

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.symmetric()#
Return type:

bool

Returns the value for the Symmetric attribute.

See also

setSymmetric()

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.userAccessLevel()#
Return type:

AccessLevel

Returns the value for the UserAccessLevel attribute.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.userExecutable()#
Return type:

bool

Returns the value for the UserExecutable attribute.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.userWriteMask()#
Return type:

WriteMask

Returns the value for the UserWriteMask attribute.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.value()#
Return type:

object

Returns the value for the Value attribute.

See also

setValue()

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.valueRank()#
Return type:

qint32

Returns the value for the ValueRank attribute.

See also

setValueRank()

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.valueType()#
Return type:

Types

Returns the type of the value attribute.

PySide6.QtOpcUa.QOpcUaNodeCreationAttributes.writeMask()#
Return type:

WriteMask

Returns the value for the WriteMask attribute.

See also

setWriteMask()