Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SheetmetalDef.Unfold() crashes on an invisible part

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
Anonymous
390 Views, 5 Replies

SheetmetalDef.Unfold() crashes on an invisible part

I have a program that creates a part as visible being false and then when I try to create a flat pattern it crashes (the unfold method).  It works fine if I change my visible boolean to true.  I have a parameter in the part already for thickness named "thick"

 

This is the specific code that doesn't want to run:

 

        Dim oFlatDef As SheetMetalComponentDefinition = oPart.ComponentDefinition
        oFlatDef.UseSheetMetalStyleThickness = False
        oFlatDef.SheetMetalStyles.Item("Default").Thickness = "thick"
        oFlatDef.Unfold()

 

Anyone ran into this before?  Almost like it isn't updating the "Thickness" parameter in the background if it isn't visible.  I even tried to stick a part doc update in before the unfold method.

5 REPLIES 5
Message 2 of 6
YuhanZhang
in reply to: Anonymous

This is known issue and was logged as  defect 1494610, please provide the number when you want to check its status. Current workaround is to make the sheet metal visible.



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

Message 3 of 6
jan.pomplun
in reply to: Anonymous

This bug still exists in Inventor 2018 - 4 years(!!) since reported above, which is very disappointing / unbelievable.

 

 

Does autodesk intend to ever fix it?

Message 4 of 6
YuhanZhang
in reply to: jan.pomplun

Hi Jan,

 

This is not in our top priority task backlog because users can workaround it when open the document in visible mode. Will it impact your project and can't you use the visible mode workaround? Can you provide me your business case(your company, Inventor seats, your clients number etc.) that would help me to push Product Management team to consider to fix it.



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

Message 5 of 6
Anonymous
in reply to: YuhanZhang

A response such as this from Autodesk is unacceptable.

 

  1. This issue didn't exist until it was caused by a new release of Inventor.  I would let you know what version that was but it was so long ago I can't remember.
  2. How would you rate the quality of a software that you use if you were told to "use a workaround to fix our admitted mistake" for FOUR YEARS?
  3. Business case needed to escalate this?...FOUR YEARS is all that should be needed.
    1. Number of seats my company has is a terrible way to publicly justify a need to fix a mistake, so I'm not even going to mention how many seats my company has.

I know that these questions you asked are not your doing but I would love for you to pass along my response to the Product Management team and I would really love to hear their response.

Message 6 of 6
YuhanZhang
in reply to: Anonymous

I double checked with QA team and see this is fixed in coming Inventor 2019 build. If you have an Inventor 2019 build you can verify this fix, and let me know if any more problems. @jan.pomplun 

 



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report