Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Draft: separate target into object and subelements in make_label
Before, the `make_label` function had a `target` parameter that had to be a `LinkSub`, `[Part::Feature, "Edge1"]`. However, it is easier to pass the individual components separately using two parameters, `target_object` and `subelements`, which can then be assembled into `[target_object, subelements]`. The second element is optional, so it can be set to `None`, and then the second element will be converted to an empty list, `[target_object, []]`, as required by the Label's underlying `Target` property.
- Loading branch information
1 parent
466ae17
commit 8679bdb
Showing
2 changed files
with
109 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters