Overriding Functions

Functions are designed to be accessible from any design. When you first define a function, it is only accessible within the project in which it was created. To be accessible from any project, you must move it to the Intent user library.

Note: The default location of the user library is %Program Files%\Autodesk\Intent Professional <version>\Library\UserLib

The library search path is an ordered list of libraries that are searched when a function definition is needed. You can use the search order to override the definition of Intent system or host-specific designs.

To override a standard Intent function:

  1. Define a function with the same name as the one you want to override.
  2. Move the function to the Intent user library.

The Intent user library and any user-created libraries are searched before system and host libraries. The first function found with the correct name is loaded and will override any other definitions by the same name that may exist elsewhere in the Function Library.