PR#2995: add PropertyXLinkList, refactor DlgPropertyLink

Merged, abandoned or rejected pull requests are moved here to clear the main Pull Requests forum.
Posts: 1405
Joined: Tue Jan 03, 2017 10:55 am

PR#2995: add PropertyXLinkList, refactor DlgPropertyLink

Postby realthunder » Tue Feb 04, 2020 2:10 am

PR link

A new property is added PropertyXLinkList, which provides compatible API to PropertyLinkList, with additional support of external object. This property is actually derived from PropertyXLinkSubList, and works exactly the same, except that its Python output is made compatible with PropertyLinkList, if there is no sub element reference in the property.

Another big part of the PR is for refactoring DlgPropertyLink, the dialog for editing link property from property view. It can now handle all major classes of link properties. The dialog is made modeless, so that the user can select reference from 3D view directly for sub element references.

Try Assembly3 (latest version 0.10.2) along with my custom build of FreeCAD at here.
And if you'd like to show your support, you can donate through patreon, liberapay, or paypal