Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hi,
is it possible to retrieve the subtypes of wtPart from database? I was thinking the attribute partTypeName, but in which table is it? Or is it...
Hi @HJ1 ,
There's separate tables for the type and type master.
WTTypeDefinition
WTTypeDefinitionMaster
Hi,
the requirement is to rule out in a db query wtParts which are of particular subtype...
so it's [idA2typeDefinitionReference] value in table WTPart, map that to WTTypeDefinition - idA2A2 and so on?
Enough of this for a Friday afternoon 😛
Replying to myself on another Friday afternoon,
back-tracking from a wtPart which number is known, use the wtPart number to query
WTPartMaster : WTPartNumber
then mapping goes
wtPartMaster : ida2a2 - wtPart: idA3masterReference
wtPart: branchIdA2typeDefinitionRefe - WTTypeDefinition: branchIditerationInfo
already the field
WTTypeDefinition : logicalIdentifier or name
seems to tell the type of the wtPart, but further:
WTTypeDefinition: idA3masterReference - WTTypeDefinitionMaster: ida2a2