Message 1 of 3

Not applicable
10-31-2019
01:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Components.Add("MyNewComponent", MyFile.ipt) Constraints.AddFlush("Flush:1", "MyNewComponent", "XY Plane", "", "XY Plane", Distance)
Distance is an Inventor Parameter. This code works, but when I edit the constraint, the Offset is the value of "Distance" (at the time of running the rule). I would like the offset to be a reference to "Distance" instead (so that the offset updates automatically when the parameter is changed).
Replacing "Distance" with Parameter("Distance") has no effect.
Solved! Go to Solution.