Harness proD API Help
EPLAN.Harness.API.Projects.Documents Namespace / Variant Class / GetAllCableUnitInfos Method
In This Topic
    GetAllCableUnitInfos Method (Variant)
    In This Topic
    List info of all cable units in all documents from this variant. Used for cable drawing derivation.
    Syntax
    public List<CableUnitInfo> GetAllCableUnitInfos()

    Return Value

    All cable units in this variant.
    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.

    Remarks
    If your license does not support workdesks or workspaces, cable units from those documents will not be included.
    See Also