Eplan Platform API
Eplan.EplApi.HEServices Namespace / PartsService Class / IsPartsSelectionOnPartsDatabase Method
The project to check
[out] The info for a user where to change this setting

In This Topic
    IsPartsSelectionOnPartsDatabase Method
    In This Topic
    Check if the user parts selection is set to parts database.
    Syntax
    public bool IsPartsSelectionOnPartsDatabase( 
       Project oProject,
       ref string strInfoForUser
    )
    public:
    bool IsPartsSelectionOnPartsDatabase( 
       Project^ oProject,
       String^% strInfoForUser
    ) 

    Parameters

    oProject
    The project to check
    strInfoForUser
    [out] The info for a user where to change this setting

    Return Value

    true is the project's parts selection is set to user defined and the user parts selection is set to parts database.
    Exceptions
    ExceptionDescription
    Thrown if null was passed as an argument.
    Thrown in case of invalid arguments
    Remarks
    This is configured in Settings: Project + Part selection dialog. Either the parts selection is set to Project or user defined. The additional setting is configured in User + Part selection dialog.
    See Also