Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to create a new parameter with Ilogic and calculate the total by applying the existing parameter value.
In the code below, the existing parameter (user parameter) value G_L is not applied. How can I fix the error code?
oMyParameter = ThisApplication.ActiveDocument.ComponentDefinition.Parameters.UserParameters
oParameter = oMyParameter.AddByExpression("costpermm", "50", UnitsTypeEnum.kUnitlessUnits)
oParameter = oMyParameter.AddByExpression("Cost", "costpermm ", UnitsTypeEnum.kUnitlessUnits)
Solved! Go to Solution.