[Qgis-user] Set variables by UI
L.W.
eaglelw at gmx.de
Wed Nov 25 13:43:16 PST 2020
That's what I want to use, but how to set the "default value" - no, not
per propertier and form builder.
I want to set the DV by input in "UI A" (add feature to layer A) and
then add new feature to B, and in UI B the DV is set to value from form A.
Am 25.11.2020 um 21:19 schrieb Harrissou:
> Hi,
> Something like setting default values for field:
> https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/vector_properties.html#default-values
> <https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/vector_properties.html#default-values>
> ?
>
> Regards,
> Harrissou
>
> Le 25 novembre 2020 20:49:17 GMT+01:00, "L.W." <eaglelw at gmx.de> a écrit :
>
> Hello,
>
> I have a question again, I know the possibility of the project
> variables, which can be queried from all layers.
> I have to insert several points and lines or polygons in different layers.
> All inserted features have in common that they have certain attributes
> that are the same for all.
> It would be nice if I only have to enter these common attributes for the
> first feature and the values are then automatically inserted as
> default values for each new feature.
> One possible way would of course be a link to a shared data table, but I
> don't necessarily want to go this way for reasons.
> I know the option of giving a UI a Python script when it is opened (even
> if I can't Python), but I haven't found anything to execute a script
> after closing, for example.
> Obviously logical, you can of course set the variables beforehand, but
> that would be another step that you have to take beforehand and you
> cannot get to these variables without a whole series of mouse clicks.
>
> Any ideas?
>
> Regards
> ------------------------------------------------------------------------
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info:https://lists.osgeo.org/mailman/listinfo/qgis-user <https://lists.osgeo.org/mailman/listinfo/qgis-user>
> Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user <https://lists.osgeo.org/mailman/listinfo/qgis-user>
>
>
> --
> Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez
> excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20201125/aefdbf50/attachment.html>
More information about the Qgis-user
mailing list