API Help
Eplan.EplApi.MasterData Namespace / MDPartsManagement Class / GetSelectedPartDatabaseItems Method
decide if all items below a node will be returned (bRecursive=true), or only the first leave in the tree (like the selection of the parts managemnt GUI) (bRecursive=false) ( Set bRecursive=true to get the behavior of the old property SelectedParDatabaseItems

In This Topic
    GetSelectedPartDatabaseItems Method
    In This Topic
    Gets the selected PartItem(s) in the parts management (or parts navigator)
    Syntax
    public MDPartsDatabaseItem[] GetSelectedPartDatabaseItems( 
       bool bRecursive
    )
    public:
    array<MDPartsDatabaseItem^>^ GetSelectedPartDatabaseItems( 
       bool bRecursive
    ) 

    Parameters

    bRecursive
    decide if all items below a node will be returned (bRecursive=true), or only the first leave in the tree (like the selection of the parts managemnt GUI) (bRecursive=false) ( Set bRecursive=true to get the behavior of the old property SelectedParDatabaseItems
    Remarks
    In the parts navigator only MDParts can be selected. In parts management dialog also MDConstruction, MDAddress and MDConnectionPointInfo are available
    See Also