Thanks! Nice and simple. Some lines could possibly be made even more readable. `if definition and not node.isLockedHDA():` (unless definition can be a valid empty object), as well as `if not node.matchesCurrentFileDefinition():`, and using the python3 format-string instead of the format method of the string object `unityDir = f'path/to/project/{hdaName}.hdalc'`.
COMMENTS
ThomasSpaceflower 3 years, 9 months ago |
Hey, thank you!
That's a good time saver!
OlafHaag 3 years, 8 months ago |
Thanks! Nice and simple.
Some lines could possibly be made even more readable.
`if definition and not node.isLockedHDA():` (unless definition can be a valid empty object), as well as `if not node.matchesCurrentFileDefinition():`,
and using the python3 format-string instead of the format method of the string object
`unityDir = f'path/to/project/{hdaName}.hdalc'`.
Please log in to leave a comment.