Description
NOTE: The automatic Compute All feature makes Fusion 360 crash when trying to save non-parametric designs. Fixes are being developed in both ParametricText and Fusion 360.
Workaround: Disable Run Compute All automatically in the Text Parameters dialog.
ParametricText 2.1.0 beta contains a fix. This will be turned into the 2.1.0 release, as soon as it has had enough testing. If you want to help out by trying the beta, uninstall the app store version, download the 2.1.0-beta.2 and follow the installation instructions here .
OLD NOTE: Fusion 360 v. 2.0.9440 breaks text edit functionality for all add-ins. All texts created with the new style dialog get extreme letter-spacing. This is fixed in Fusion 360 January 2020 release.
https://forums.autodesk.com/t5/fusion-360-api-and-scripts/cannot-select-shx-fonts-on-sketchtext-object/m-p/9923259/highlight/true#M12082
ParametricText is an Autodesk® Fusion 360™ add-in for creating Text Parameters in sketches.
Note: Version 2.x is not compatible with version 1.x. Documents created using version 1.x will be upgraded when using version 2.x.
Text parameters can be pure text or use parameter values by using a special syntax. There is also a special parameter, that contains information about the document’s version and save date.
All parameters are stored within the document upon save. The texts are always “rendered” in the sketches, so they can be viewed without having the add-in. However, to correctly update the values, the add-in is needed.
⭐ This add-in is free, but if you like it, please drop a review and tell us about your use case! Drop a review even if you don't like it. (The reviews will also provide feedback for future development)
You can also support me by buying me a coffee (Ko-fi link).
The add-in is licensed under the MIT license.
A propos de cette version
Version 2.0.0, 08/02/2021Politique de confidentialité de l'éditeur
Glad to finally have this basic functionality to version my parts and embed paramentric details.
Hi thanjs for this nice and handy app !
Used for engraved text on part and makes text update much more easy and fast.
Only issue I've met is it seems to choke on parameters without units:
---------------------------
Fusion 360
---------------------------
Copy this message using Ctrl+C:
C:\Users\tarax\AppData\Roaming\Autodesk\ApplicationPlugins\ParametricText.bundle\Contents\thomasa88lib\events.py failed:
Traceback (most recent call last):
File "C:/Users/tarax/AppData/Roaming/Autodesk/ApplicationPlugins/ParametricText.bundle/Contents\thomasa88lib\events.py", line 141, in catcher
func(args)
File "C:/Users/tarax/AppData/Roaming/Autodesk/ApplicationPlugins/ParametricText.bundle/Contents/ParametricText.py", line 356, in map_cmd_execute_handler
save(cmd)
File "C:/Users/tarax/AppData/Roaming/Autodesk/ApplicationPlugins/ParametricText.bundle/Contents/ParametricText.py", line 377, in save
sketch_text.text = evaluate_text(text)
File "C:/Users/tarax/AppData/Roaming/Autodesk/ApplicationPlugins/ParametricText.bundle/Contents/ParametricText.py", line 458, in evaluate_text
shown_text = SUBST_PATTERN.sub(sub_func, text)
File "C:/Users/tarax/AppData/Roaming/Autodesk/ApplicationPlugins/ParametricText.bundle/Contents/ParametricText.py", line 442, in sub_func
value = design.fusionUnitsManager.convert(param.value, "internalUnits", param.unit)
File "C:/Users/tarax/AppData/Local/Autodesk/webdeploy/production/81fe16c330656df1a293195f4c169d3f2a29c315/Api/Python/packages\adsk\fusion.py", line 15775, in convert
return _fusion.FusionUnitsManager_convert(self, *args)
RuntimeError: 3 : Bad units parameter
---------------------------
OK
---------------------------
Thanks for sharing. Keep the good code coming :-)
Hi, thank you for reporting this. Believe it or not, I actually hit the exact same problem today. I'm planning to submit the next version in the coming days, but it might take 1-2 weeks due to the review process. However, if you want to, you can try the beta here: https://github.com/thomasa88/ParametricText/releases/tag/v1.1.0-beta.4 You will need to uninstall the version downloaded from here and then follow the instructions in the readme: https://github.com/thomasa88/ParametricText/blob/v1.1.0-beta.4/README.md If you don't uninstall the store version first, you will get errors when the beta and the released version tries to run at the same time.
v1.1.0 with the unit fix is now published!