- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Ok, I'm certain this is easy but it seems to be escaping me.
I have a user parameter that consist of a multi-value list. I need this value to assign to a custom iProperty when selected from a form.
I have the multi-value list created as well as the form but I can't make the form assign the vale once selected.
Example, "User Parameter" = Export Class
"Export Class" is selectable from drop down box, "Customer, Vendor, Shop, Default"
"Export Class" should be populated once value is selected by the drop down box.
Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Something like this:
MultiValue.SetList("Selector", "Customer", "Vendor", "Shop", "Default", "other") Select Case Selector Case "Customer" Parameter("user1") = "Export Class" Case "Vendor" Parameter("user1") = "Export Class" Case "Shop" Parameter("user1") = "Export Class" Case "Default" Parameter("user1") = "Export Class" Case "other" Parameter("user1") = "" End Select
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Not quite what I'm looking for, maybe I didn't explain what I am looking for well.
Basically I have a form that looks like this:
I need the Export_Class drop down to assign the selection to a Custom iProperty called "Export Class:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Unfortunately you cannot export a text parameter to an iProperty. You will need to pass the parameter to the custom iProperty.
iProperties.Value("Custom", "Export_Class")= Export_Class
Or if this helped you, please, click (like)
Regards
Alan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Figured it out, thanks for all the help.
oTrigger = Export_Class InventorVb.DocumentUpdate() iProperties.Value("Custom", "Export Class") = Export_Class InventorVb.DocumentUpdate()