Class: QgsProcessingParameterPointCloudAttribute¶
A point cloud layer attribute parameter for Processing algorithms.
Added in version 3.32.
List of all members, including inherited members
Class Hierarchy¶
Base classes¶
Base class for the definition of processing parameters. |
Methods
Returns whether multiple field selections are permitted. |
|
Returns whether a parameter which allows multiple selections (see |
|
Returns the name of the parent layer parameter, or an empty string if this is not set. |
|
Sets whether multiple field selections are permitted. |
|
Sets whether a parameter which allows multiple selections (see |
|
Sets the name of the parent layer parameter. |
Static Methods
Creates a new parameter using the definition from a script code. |
|
Returns the type name for the parameter class. |
- class qgis.core.QgsProcessingParameterPointCloudAttribute[source]¶
Bases:
QgsProcessingParameterDefinition- __init__(name: str | None, description: str | None = '', defaultValue: Any = None, parentLayerParameterName: str | None = '', allowMultiple: bool = False, optional: bool = False, defaultToAllAttributes: bool = False)
Constructor for
QgsProcessingParameterField.
- __init__(a0: QgsProcessingParameterPointCloudAttribute)
- Parameters:
- allowMultiple(self) bool[source]¶
Returns whether multiple field selections are permitted.
See also
- Return type:
bool
- defaultToAllAttributes(self) bool[source]¶
Returns whether a parameter which allows multiple selections (see
allowMultiple()) should automatically select all attributes as the default value.If
True, this will override any existingdefaultValue()set on the parameter.See also
- Return type:
bool
- static fromScriptCode(name: str | None, description: str | None, isOptional: bool, definition: str | None) QgsProcessingParameterPointCloudAttribute | None[source]¶
Creates a new parameter using the definition from a script code.
- Parameters:
- Return type:
- parentLayerParameterName(self) str[source]¶
Returns the name of the parent layer parameter, or an empty string if this is not set.
See also
- Return type:
str
- setAllowMultiple(self, allowMultiple: bool)[source]¶
Sets whether multiple field selections are permitted.
See also
- Parameters:
allowMultiple (bool)
- setDefaultToAllAttributes(self, enabled: bool)[source]¶
Sets whether a parameter which allows multiple selections (see
allowMultiple()) should automatically select all attributes as the default value.If
True, this will override any existingdefaultValue()set on the parameter.See also
- Parameters:
enabled (bool)