How to add your knowledge

Resolve a file search

    Table of contents
    No headers

    Autodesk Inventor searches for referenced files using the options and file storage locations defined by the active project.

    A file reference stored in an Autodesk Inventor file is either a library reference or a non library reference. A library reference includes:

    • Library name
    • File name
    • Subfolder location (if required)

    A non library reference includes:

    • File name
    • Subfolder location (if required)
    TipIf you do not have duplicate file names in project folders, set an option in the project file (.ipj) so that Autodesk Inventor searches through all project subfolders to locate a file name. If the Using Unique File Names option is Yes, the Resolve Link dialog box is only opened if the search fails. If set to No, the Resolve Link dialog box opens immediately and you must locate the missing file manually.

    Resolving a file search

    An automatic resolve process follows a set sequence of steps:

    1. Full reference information is provided through an API event, and any interested add-in application, such as a PDM system, is allowed to override the normal Autodesk Inventor behavior.
    2. If a library name is stored in the reference, or the source file was opened from a library location, then only the project location associated with a single library name is searched.

      There are three variants of how the library name used to look up the library folder is determined:

      • The source file was not found in a library, but the reference has a library name. In this case, a project library location with the name matching the reference Library Name is searched.
      • The reference is a non library reference and its Library Name is empty, but the source file was found in a library location. In this case, a library location containing the source file is searched.
      • The reference is to a library and the source file was found in a library location. The system generates a list of complex candidate library names, and looks through the list, from longest to shortest, for a library name in the project that matches.
    3. Non library references are searched in order through the workspace and each workgroup search path folder. The workgroup folders are searched in the order in which they are listed in the Project Editor.
    4. For both library and non library references, if not found using the previous rules, the folder containing the source file is searched.
    5. If the reference is still not found, substitution rules are applied from those previously defined in the Resolve Link dialog box (in the same Autodesk Inventor session), and the search process is repeated. You can search for one or more other unresolved references using the same the substitution rule.

      Apply a substitution rule if you have:

      • Moved a set of files or an entire folder from one library to another or between a workgroup, another edit folder, and a library folder.
      • Added or removed a subfolder level within a project folder, or otherwise changed the subfolder path from the most significant project folder to the file.
      • Moved a set of files between a project folder and some folder outside the project.
    6. If a file is still not found, the system checks the absolute full path where the referenced file was found the last time the referencing file was saved. If the file is found at that location, and that location is contained on one of the project locations, the reference information is automatically recomputed, or back-resolved, for future use, the source file is marked as needing to be saved, and the reference is resolved.
    7. PDM vendors are given another chance to resolve the file whether they take over the process or add on to what Autodesk Inventor already does.
    8. If the reference is identical to another that was previously resolved manually by the user choosing a file with the different name, the same replacement is applied.

    If a file is still not found, the Resolve Link dialog box opens where you can specify the location of the referenced file. Once you find a file through this dialog box and open it, you can record the location for future use in the form of a library name and/or path substitution rule.

    Depending on the reasons that the file was not found, you can take corrective actions:

    • Cancel the open and move the file to a location defined in the active project. If you move the folder to a subfolder of a storage location, use the Resolve Link dialog box once to establish the correct relative path.
    • If the file exists within a location defined by the active project, use the Resolve Link dialog box to enter the location.
    • If the file is temporarily unavailable, such as when a network is unavailable, skip the reference and work without the referenced file.
    • If the referenced file has been permanently deleted, skip the reference, and then later delete or replace it. In some Autodesk Inventor applications, you can specify the replacement component directly in the Resolve Link dialog box. Others require that you resolve the reference in the context of the top-level component first.

    Resolving non library file searches

    Non library files are any files you can edit for a project, including the files stored in your workspace and workgroup search paths.

    Two strings, Relative path and File name, are used to store references to non library files.

    Relative path

    From the first edit folder containing the referenced file, or if no such folder exists, the relative path from the folder of the source file, and if that does not exist, the full absolute path to the referenced file.

    File Name

    When you open a file, Autodesk Inventor searches for components in the following order:

    • Library search paths, if a library part is loaded. Otherwise, library paths are not searched.
    • Workspace.
    • Workgroup search paths.
    • The folder containing the project file.

    Library references are not searched in project non library folders, and project non library references are not searched in library folders.

    When a component (part or subassembly) is placed in a higher-level assembly, the location of the referenced file is saved in the assembly document. The assembly uses this information to locate the referenced components the next time the assembly is opened. The first file found that matches the naming information stored in the parent document is loaded.

    If a component is not found, an automatic resolve process follows a set sequence of steps to resolve the search. If the search is not successful, the Resolve Link dialog box opens, where you can add a substitution rule and repeat the search process. Once the component is found and the referencing file is saved, the location is automatically recorded for future use.

    To resolve a file search

    Depending on the reasons a file is not found, you can take corrective action:

    • Move the file to a location defined in the active project. If you move the folder to a subfolder of a storage location, use the Resolve Link dialog box once to establish the correct relative path.
    • If the file exists within a location defined by the active project, use the Resolve Link dialog box to enter the location.

    In the Resolve Link dialog box, choose an option:

    Browse

    Browse to a new location for the part, and then click Open.

    Skip

    Loads without the missing component file.

    Skip All

    Loads without trying to resolve any missing files.

    Cancel

    Cancels the load altogether.

    Resolving library file searches

    Library folders are intended for read-only files that you reference, but not edit. Each library file reference contains:

    • Library Name
    • Relative Path from the library folder
    • File Name

    Additional information used to resolve the reference includes:

    • Source library name in which the referencing file was found (or an empty string if it was not found in a library at all)
    • Folder path

    Library component reference resolution includes providing the full reference information to any interested add-in application such as a PDM system. If necessary, the application can override normal Autodesk Inventor behavior. The full reference information includes a custom byte array that a PDM system might have given Autodesk Inventor previously to identify the reference file through an API event.

    A reference is treated as a library reference if there is a reference library name or a source library name. A library folder that includes Library Name as a component is searched for the reference. If a library folder is found, two candidate paths are generated:

    • Library folder + relative path + file name
    • Library folder + file name

    In all cases, if a file is found at the current candidate path, the search is stopped, and any remaining candidate paths are dropped. Also, if the relative path is empty, the second candidate is dropped, since it would be identical.

    The resolve mechanism cycles through the following searches in order:

    1. The file is searched relative to the source file folder, path + file name.
    2. Edit location paths, in order, through the:
      • Workspace folder
      • Workgroup folders.
    3. The file is searched relative to the source file folder.
    4. Any cached, matching substitution rules are applied, and the search is tried for each. You can resolve a file that was moved by instituting a restructuring rule, and then applying it to further references being resolved in the same session and the same project. It includes moving files from one library to another or between edit folders and library folders, adding or removing a subfolder level within a project folder, or otherwise changing the relative path from the most significant project folder to the file.
    5. The absolute full path where it was found the last time the referencing file was saved. If the file is found, the reference information is recomputed from the full path, the source file is marked as needing to be saved, and the search is resolved.

    Finally, the Resolve Link dialog box shows the recorded reference information and asks where the intended file is. You can skip that or all unresolved files, or cancel and end the initial save altogether, or you can use the options to enter the location where the file can be found. In the same session, and in the same project, if other files have unresolved references to that same path, they are also resolved.

    After you find a file using the Resolve Link dialog box, save the source file to record the references for future use.

     

    Procedures

    Resolve skipped components in assemblies

    When you open an assembly containing components in directories not specified in the active project, you can choose to skip the loading those components. Skipped components are listed in the browser with a special symbol to indicate they are not loaded (a red question mark in a red circle).

    Use one of these ways to resolve a skipped file:

    • Add the path to the referenced file to the active project, and then reload the assembly.
    • Delete the reference to the skipped file. Right-click the file name in the browser and select Delete.
    • Replace the referenced file with a different file. Right-click the file name in the browser and select Replace Component.
    • Use Design Assistant or Windows Explorer to copy or move the file from its current directory to the directory named in the active project. Before moving a file to a different directory, make sure it is not being referenced by other assemblies.
    • Use the Resolve Link dialog box to search for the file manually. When you locate the file, you can update the link so that Autodesk Inventor finds it in the new location when you next open the assembly.
    TipIf you do not have duplicate file names in project folders, set an option in the project file (.ipj) so that Autodesk Inventor searches through all project subfolders to locate a file name. If the Using Unique File Names option is Yes, the Resolve Link dialog box is only opened if the search fails. If set to No, the Resolve Link dialog box opens immediately and you must locate the missing file manually.

    Subassemblies that contain unresolved references to parts cannot be loaded. Resolve the missing file using one of the methods described in the previous section, and then open the assembly file again.

    NoteYou cannot create a drawing view or assembly presentation or open a drawing or presentation of an assembly with skipped components.

     

    References

    Resolve check out

    Shows information about the checked out file and changes the checkout status. Forces the check in of a file that you did not check out, was checked out to someone else, or was checked out under a different name or version.

    A valid checkout has matching properties on both the file in the workspace and the file with the same name and relative path in the relevant workgroup. Properties include the:

    • User login name
    • Check out location
    • Revision ID on the workgroup file replaced by the checkout
    • Timestamp
    NoteThe operations on this dialog box are intended for system administrators. A system variable called AutodeskInventorMultiUserAdmin must be set using the System option on the Windows Control Panel.

    Access:

    In the browser, click the header, and then select File Status. Right-click a file name, and then select an option. (Use for shared or semi-isolated projects.)

    Browser options

    In the browser, available menu options differ according to project type and check out status.

    Check In

    Clears the checkout status of a file and in a semi-isolated project, copies the file from the workspace to the same relative path in the appropriate workgroup. (The existing workgroup file is first moved to the OldVersions folder.)

    Check Out

    Checks the file out of the workgroup to a workspace. In a semi-isolated project, copies the file to the same relative path location in the workspace. If the file is already checked out, the Resolve Checkout dialog box opens.

    Cancel Check Out

    Clears the checkout status of a file.

    Update Status

    Resets status symbols on files in the browser to indicate checkins or check-outs by other designers.

    Resolve

    Opens the Resolve Checkout dialog box so conflicting check-out status can be resolved.

    Resolve Checkout dialog box

    The Resolve Checkout dialog box controls the following operations:

    Tree check box

    Causes Forced Check Out, Canceled Check Out, or Steal Check Out to apply to all files in the tree.

    Force Checkout

    Used when the revision ID in the workspace and workgroup do not match. Click to override the current checkout to someone else or a different version or file name. Check-out data is reset to your name, path, date, and version. Use with caution to avoid replacing another designer's checked in edits to the file.

    Cancel Checkout

    Cancels check out of a previously checked out file, including one checked out to someone else or when the workgroup file check out status does not match your check out status.

    Steal Checkout

    Overrides the checkout status of another designer and checks out a file to you instead. Use with caution to avoid destroying another designer's edits to the file. Available when the workgroup file is checked out to another designer or workspace location.

    Skip!

    Cancels the Forced Checkout, Canceled Checkout, or Steal Checkout.

    Click More to view check out status information in the Workspace Document and Workgroup Document boxes. The sections cannot be modified and describe the version of the file checked out to a workspace and the version that resides in the workgroup. When a file checked out is valid, the information matches in both sections.

    Full path

    Shows the full path to the checked out file.

    Checked out to

    Name of the person to whom the file is checked out.

    When

    Date and time of the original checkout.

    Current Revision

    Shows the version number of the file that resides in the workspace.

    Checked out Revision

    Shows the version number of the file when it was checked out.

    Checked out to Workspace Path

    Shows the location of the workspace where the file was checked out.

    Resolve Link

    Provides a method to specify the current location of a file that is not found automatically when you open an Autodesk Inventor assembly.

    Access:

    The Resolve Link dialog box opens if the automatic search for a referenced file fails when the referencing file is opened. The automatic search fails to find a file if:

    • Paths to referenced files are not specified in the active project.
    • The referenced file or a folder that contained it was renamed, moved, or deleted, and no longer exists within any of the storage locations defined by the active project.
    • The file was moved from one library to another.
    • The file was moved from one subfolder to another within a storage location or a library.
    • The file was moved from one subfolder to another within a storage location.

    Look in

    Displays the active path. To change the path, click the arrow and navigate to the desired folder.

    Locations

    Shows each file location and its subfolders defined in the project. Click a file location to make it active. The contents of the location are listed in the main window of the dialog box. Click a file to see a preview.

    File name

    The name of the file that is being referenced, or the file name selected in the main window of the dialog box.

    File of type

    Filters the file list of files to include only files of a specific type. Click the arrow to display the list, and then click to select a file type.

    Open

    Opens the selected file.

    Find

    Opens the Find dialog box so that you can define searches to find files.

    Skip

    Discontinues search for the specified file. The assembly, drawing, or presentation opens without the referenced file.

    A skipped file is marked with a red question mark in the assembly browser and is not shown in the graphic window. You can select an unresolved file and delete it or replace it.

    NoteYou cannot create a drawing view or assembly presentation or open a drawing or presentation of an assembly with skipped components.

    Skip All

    Discontinues search for all files with unresolved links. The assembly opens without the referenced components.

    Unresolved Reference

    Filename

    The name of the referenced component file that is not found.

     

    The subdirectory where files are being searched, relative to each storage location defined in the active project.

    Library

    The name of the library from which the searched component is referenced. Available only if the missing component is referenced from a library.

    File containing the reference

    The name of the file that is being opened and that contains the component reference that is not found.

    Found in Library

    The name of the library where the source file is found. Available only if the source file is a library.

    Cancel

    Ends the top level Open operation.

    (More)

    Search for other unresolved references using the following rule.

    Check to activate the search for other unresolved references using the information you enter in the Substitution Rule section. Remove the check mark if you do not want to search for other unresolved references using the information you enter.

    Substitution Rule

    Use this section if you can enter path information to locate missing components.

    Leading portion of the Referenced relative Path to replace

    The portion of the existing referenced relative path to replace to find the missing referenced component.

    Replacement Path

    Enter the path to a location where the missing referenced component can be found.

    Replacement Library

    Enter the name of the library where the missing referenced library component can be found. Available only if the missing component is referenced from a library.