API Help
Eplan.EplApi.DataModel Namespace / Project Class / SetSortedLocations Method
Location hierarchy
List of locations

In This Topic
SetSortedLocations Method
In This Topic
Sets the location order, as in the arrLocations parameter, for given hierarchy type. Locations existing in project and not passed in arrLocations are placed after the passed ones. If arrLocations parameter contains not existing location name, this method returns false and no changes are made to the project
Syntax
public bool SetSortedLocations( 
   Project.Hierarchy type,
   string[] arrLocations
)

Parameters

type
Location hierarchy
arrLocations
List of locations
Remarks
Method throws BaseException when a Project was opened without an exclusive lock.
See Also