I love the forms in Inventor 2012 and up. In fact I try to find a use for them whenever I can. One of the more recurring uses I have done for clients is a Form in the drawing environment. Recently I was asked to have a pick list in the form based on known customers the client works with. So I start with a new text user parameter in the drawing and I make it a Multi-Value list.
Normally I would just slap that parameter right in there and call it a day.
But wait, we want this to track in Autodesk Vault as well in a Custom iProperty called Client. Normally this isn't a problem because when we click the Export Parameter column in the parameters window, it automatically does this for us. The problem we run into is that Mulit-Value text parameters do not support export to iProperties like normal numerical ones do. And in the drawing it isn't even a option at all for even the numeric ones.
This is where iLogic comes in. Create a new Rule and use this code snipped in the Rule Editor
Download MV Parameter to Custom iProp Snippet
Follow the comments to change a few variables here for it to work for you. In the end you will have a rule that will take your current value of your MV Parameter and transcribe it to your Custom iProperties for proper metadata tracking.
"Awesome Post" Mr Mark. A follwup question, is there a way we carry this to the ipart library parameter ?
I appreciate your response.
KK
Posted by: KK | 12/10/2012 at 12:39 AM
I see no reason why not. It may just involve some extra coding. I know there are some limitations with iLogic and iParts without accessing the API for them.
Posted by: Mark Flayler | 12/11/2012 at 08:48 AM