Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #767 +/- ##
==========================================
- Coverage 81.68% 80.91% -0.77%
==========================================
Files 32 32
Lines 1982 1986 +4
==========================================
- Hits 1619 1607 -12
- Misses 363 379 +16 |
sbradrick
reviewed
Jun 12, 2024
| globals().update(global_variables(app)) | ||
| app.update_globals(globals()) | ||
|
|
||
| Some enum types are available when scripting inside of mechanical, such as ``SelectionTypeEnum`` |
sbradrick
reviewed
Jun 12, 2024
| included in these global variables. To include enums, set the second argument of | ||
| ``global_variables`` to True. | ||
| or ``LoadDefineBy``. Because these number in the thousands, by default, these enums are | ||
| included in these global variables. To avoid including them, set the second argument of |
sbradrick
reviewed
Jun 12, 2024
| `app.update_globals(globals())` | ||
|
|
||
| By default, all enums will be imported too. To avoid including enums, set | ||
| the `enums` argument to False. |
Collaborator
There was a problem hiding this comment.
By default, all enums will also be imported. To not import enums, set the enums argument to False.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.