- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
For reference I am using a global form and working with both iProperties and user parameters.
What I am attempting to do is have a global form that displays the current values for parameters and when the value is updated in the form, have it update the parameter. Currently this can be done by clicking "apply", however I am wondering if there is a way to do this when the value is updated in the form itself, or through a rule.
I have attempted the following:
iProperties.Value("Custom", "Initiated Date") = iProperties.Value("Custom", "Initiated Date")
and then later:
iProperties.Value("Custom", "Initiated Date") = iProperties.Value("Custom", "Temp Initiated Date")
iProperties.Value("Custom", "Temp Initiated Date") = iProperties.Value("Custom", "Initiated Date")
In the first case, "Initiated Date" is the parameter in the form, and in the second attempt "Temp Initiated Date" is the parameter in the form (the logic being that Inventor was using the initial value, and by swapping them around would hopefully cause them to update to the new value in the form)
Is there a method to access the "current" value that is entered into the form? Any attempts to access these pull from the previously set values (before the form was opened, or the value after clicking "apply").
Changing parameters in forms works as expected but I am not aware of a method to replicate this in a global form, which I would like to use to avoid having to add the form/rules to each file separately as this form is intended to be used to update older drawings to a newer format.
I have searched for what the "apply" button actual does with the hopes to replicate this a rule, however I have found no documentation on what any of the potential default form buttons do behind the scene.
Any advice is appreciated.
Solved! Go to Solution.