11-22-2024
07:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
11-22-2024
07:20 AM
@Curtis_Waguespack / @Michael.Navara,
Apparently you have to post on the forum in order to find the mistake in your own code.
I was constraining two components in a subassembly.
The subassembly was being created on the fly from a template.
What I did not notice, until NOW, was that the 'Return_Rail_Liner_Thickness' parameter was not defined in the template.
I had used similar code using expressions to constrain top-level components - where the parameter WAS defined.
Can't constrain in a subassembly if parameter is missing. That explains why offset=0 worked, but an expression with the parameter name failed.
Thank you all for helping me find this embarrassing mistake.
Regards,
Jerry
-----------------------------------------------------------------------------------------
CAD Administrator
Using Inventor 2022
Autodesk Certified Instructor
Autodesk Inventor 2020 Certified Professional
Autodesk AutoCAD 2017 Certified Professional
CAD Administrator
Using Inventor 2022
Autodesk Certified Instructor
Autodesk Inventor 2020 Certified Professional
Autodesk AutoCAD 2017 Certified Professional