Eplan Platform API
Eplan.EplApi.MasterData Namespace / MDPartsDatabase Class / GetPartVariants Method

GetPartVariants Method
Gets all part variants with the given part number.
Syntax
public MDPart[] GetPartVariants( 
   string sPartNr
)

Parameters

sPartNr
Remarks
The parts are sorted by the variant name
Example
If the database contains the parts: "PartA"-"V4", "PartA"-"V1", "PartA"-"V2", "PartA"-"V3" than GetPartVariants("PartA") returns "PartA"-"V1", "PartA"-"V2", "PartA"-"V3", "PartA"-"V4"
See Also