jsnosal - Friday, June 29, 2012 3:10 PM:
Brian - Monday, July 2, 2012 1:24 AM:
Hi Jsonal,
The Part Family (under Design on the TOC) is an Item type that begins to do what you want. Lookup Just Ask Innovator help under Quality Planning and read the Part Family information.
It isn't exactly what you want since your parts have to already exist to add them to a Part Family. However, it shouldn't be too difficult to add an "onAfterAdd" method to Part to create a relationship to a Part Family from the part save. You probably need to work on matching Part and Part Family classifications or have the user select a Part Family when creating the part.
Hope this helps,
Brian.
jsnosal - Monday, July 2, 2012 2:51 PM:
Brian - Wednesday, July 4, 2012 7:14 AM:
Hi josh,
The 2nd and 3rd lines in your code aren't actually doing anything useful.
You are telling Innovator to retrieve "Part" items but not telling it what ID or other criteria. So it will return everything. Then you don't use the results anywhere. This may just be the code snippet.
The code looks more or less correct.
I have to ask if you actually want to be using Characteristics for this.
What you seem to be doing is "classification specific properties" for the Part item.
If you add properties to the Part item and then in the "classification" column for the property you select the "component/resistors" classification you can selectively add these properties to forms or have them display as "parameters" in a tab for the item.
This requires no code and is easier to maintain.
The characteristics are typically used for inspection/measurement type items used in Process Planners and FEMA.
Cheers,
Brian.
jsnosal - Monday, July 9, 2012 10:32 AM: