Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use an out-of-plane text object - was "Cannot add new text param" #66

Open
rbrian opened this issue Apr 12, 2024 · 4 comments
Open
Labels
bug Something isn't working upstream Problem in upstream project

Comments

@rbrian
Copy link

rbrian commented Apr 12, 2024

Describe the bug
after adding/changing a text param, i get an error dialog.

To Reproduce
Steps to reproduce the behavior:

  1. create sketch with text item
  2. select Modify | Change Text Parameters
  3. select the sketch and enter a param (in this case, {_.configuration}, although it happens with any param value

Expected behavior
Sketch text should change to reflect param

Screenshots
image

Software

  • OS: Windows
  • Fusion 360 version: Fusion 2.0.18950 x86_64
  • ParametricText version: 2.4.0

i know enough Python to find my way in the code, if there's something you'd like me to try patching.

@rbrian rbrian added the bug Something isn't working label Apr 12, 2024
@rbrian
Copy link
Author

rbrian commented Apr 12, 2024

to create the sketch:

  1. new sketch
  2. create | text
  3. add a placeholder text, set height, alignment, etc.
  4. finish sketch

@rbrian
Copy link
Author

rbrian commented Apr 12, 2024

Followup: The text block in question seems to have been at a really weird angle to the sketch plane. Not entirely sure how I managed it. Realigned the sketch to a different plane, and the text was skewed away from the plane. That said, it was also failing on a different computer. Will retest when I get back to the other box and see if it still works.

@rbrian
Copy link
Author

rbrian commented Apr 14, 2024

Followup 2: yes, that seems to have been the issue. I'm not sure if it's worth fixing or not, considering how rare out-of-plane text is likely to be, but I'll let you be the judge of that. Still not sure how I created it that way. It was coincident to and/or dimensioned off of several other things, so maybe one of those processes was to blame.

@rbrian rbrian changed the title Cannot add new text param Cannot use an out-of-plane text object - was "Cannot add new text param" Apr 14, 2024
@thomasa88
Copy link
Owner

Hi, thanks for following this up so thoroughly.

I think it is the same bug as in #61

It has been upstreamed to Autodesk: https://forums.autodesk.com/t5/fusion-api-and-scripts/bug-internalvalidation-when-setting-sketchtext-text-in-moved/td-p/12553570

@thomasa88 thomasa88 added the upstream Problem in upstream project label Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream Problem in upstream project
Projects
None yet
Development

No branches or pull requests

2 participants