Inventor 2024 Passing parameters issue new in 2024
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have years of code, and many parts that are now Ilogic configurations for our items. The code has worked Faultless in all versions from Inventor 2018 to Inventor 2022, We Skiped upgrading to 2023. below is a sample of a snippet that keeps erroring. when trying to pass a parameter to a subassembly. I no longer use this method, of hardcoded names but I have many jobs with code I wrote years ago, this type of code gives the error of "Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))" I have even commented lines out and reputed it by clicking on the parameters.
I have this in many items. What's even funnier, if I edit some items in place in overall assembly, it fails, but if I open instead of editing in place it works. but not all the time. Once again, they all worked perfectly in previous versions, so what has changed in Inventor 2024 that makes this type of call no longer works? it errors on every line if I comment out. and I have this in approx 30 different products in their configurators
'Parameter("Beam assembly 1 with columns:1", "FFL") = Mezzanine_FFL Parameter("Beam assembly 1 with columns:1", "FFL") = Mezzanine_FFL Parameter("Beam assembly right end:1", "FFL") = Mezzanine_FFL Parameter("Beam assembly Middle beams", "FFL") = Mezzanine_FFL