As an example, a filter might decide to define properties dependent on its dynamicInputPorts in onInit():
pc = self.propertyCollection()
ports = [p.name() for p in self.getDynamicOutputPorts()]
pc.defineProperty("prop", "default", options=dict(enum=["default"] + ports))
The code above will
raise PropertyInconsistentDefinition
only use the default value and ignore saved properties.
As an example, a filter might decide to define properties dependent on its dynamicInputPorts in onInit():
The code above will