append_entity_path
append_entity_path (dir[, prepend])
This function appends the directory
dir to the
set entitypath option if not already present. If
prepend is
1, prepends
dir to the
entitypath path, removing any later occurrence of the directory.
Examples
If you wanted to append entities in the /company/entities subdirectory, so your entities are searched last:
append_entity_path('/company/entities')
If you wanted to prepend entities in the same /company/entities subdirectory, so your entities are searched first:
append_entity_path('/company/entities',1)
If there is an Arbortext-path\custom\entities subdirectory at startup, the \custom\entities path is automatically prepended to the entities path. Putting your entity files in the \custom\entities subdirectory makes them automatically available, avoiding manual steps to add them to the path.
Related Topics