I trying to get the substituted part from within a VB script in Pads Layout (the Active column)
If I list all parts in an assembly variant it possible to see if a specific part is substituted but how do I get the Part Type of the variant?
VB code for listing all parts of a part type in "asseblyvariant":
For Each part In ActiveDocument.AssemblyOptions(assemblyVariant).PartTypes(PartType).Components
If part.Substituted Then
kkkkkk = AttrVal(part, "Value") ''' How do I point to the variant Part Type
You can get the parttype with part.Parttype, unfortunately i don't know how to get the attributes which you can see in dxdesigner.