Harness proD API Help
EPLAN.Harness.API.Projects.Documents Namespace / Project Class / GetVariants Method
In This Topic
    GetVariants Method
    In This Topic
    Get list of all variants in this project.
    Syntax
    public List<Variant> GetVariants()

    Return Value

    All variants in this project.
    Exceptions
    ExceptionDescription
    The object is in invalid state. Obtain a new one.

    Internal error of HpD or HpD API.

    IMPORTANT: Throwing this exception changes HpD Api's state to Failed.

    See Also