Announcements
Autodesk Community will be read-only between April 26 and April 27 as we complete essential maintenance. We will remove this banner once completed. Thanks for your understanding

Strange behavior in renaming variables when multiple similar components are used in a new design (BUG or feature?)

marc.pouliot.1
Contributor

Strange behavior in renaming variables when multiple similar components are used in a new design (BUG or feature?)

marc.pouliot.1
Contributor
Contributor

Simply put, on (2.0.12157 Active Plan: Fusion 360, Personal Windows 8.1 x86_64 (9600.19968))

I have a "drawer" (Ti=tiroir) component, and I put many drawers in a cabinet or just a new design.
I break all the links.

As shown on the following image, 

one would expect all variables of the new broken components to have proper (_x) suffix.

 

So, I can generate drawers of different sizes, except the height of the other drawers is always the height of the first drawer, the internal box is OK but the faceplate does not update to the proper height.

 

As shown in the image (GREEN= OK, RED = wrong),

(screencast does not work anymore, the previous version does not allow me to sign in, and the update just hangs)

98dc38bb-502b-4a96-baf8-b70abb0bd5ce.jpg

 

I remade the "infamous" script, moved the creation of the faceplate in the history, etc.. no success.

 

To fix it by renaming the offending variables one at a time in the user variables and in the infamous sketch..  

 

Maybe I found a way to access the first component variable from within other subsequent components ?? (feature)  but I do not know how I did that.

thanks

 

0 Likes
Reply
243 Views
3 Replies
Replies (3)

patilsm
Autodesk
Autodesk

Hi @marc.pouliot.1 ,

 

Thanks for your post and sharing your observation.

I have checked with locally where I also observe this parameter renaming issue.

 

I am forwarding this to team for further analysis and I will update on this.

 

Thanks,

Sagar Patil




Sagar Patil
Software Engineer
Quality Assurance
Autodesk, Inc.


0 Likes

marc.pouliot.1
Contributor
Contributor

Wow ! Thank you !

0 Likes

marc.pouliot.1
Contributor
Contributor

Hi,

I think It might be the fact the TiDoorHeight exists before TiDoorHeight_x is declared.
Is there a way to check when the variables are defined/declared in the history ??

thanks

0 Likes