Curing Unresolved File Headaches--Part I1 Jul, 2002 By: Jeff Wymer
If you are part of an engineering-design team with multiple people working in tandem, there's a good chance you've encountered unresolved links while working with associated CAD files. It's not uncommon to find that a co-worker or network administrator, for one reason or another, has renamed a directory or moved some files after you've left work. When you return the next day and begin to work, you realize the software can't find the files your design was referencing a day earlier. Now you have to spend time resolving your assemblies, which could take hours. This is time that you need to complete your project on schedule.
Unresolved files are typically the result of data being relocated. The problem often grows as users unknowingly overwrite or lose files. Project Files, an innovative tool in Autodesk Inventor software, provides the functionality that alleviates these troubles. In the first part of this two part series, I will explain the concepts behind Autodesk Inventor's Project Files: what they are, how they work, and how Project Files will fit into your environment, helping remove the pesky issue of unresolved links.
Project Files are text files with a .IJP file extension that contain a list of paths to various folders. They break the dependency between your Autodesk Inventor dataset and its file locations. This basically means that your files may be relocated without editing assembly or drawing files. Guided by a Project File, Autodesk Inventor is able to find the data in the new location without the hassles associated with unresolved links. This is possible because Autodesk Inventor's documents only store a reference's file name, not its location. Instead, the software relies upon Project Files for these locations, meaning the software is flexible with data storage. As an assembly is opened, Autodesk Inventor will automatically search for the data it needs based on the locations listed in the active Project File.
How They Work
For many customers, Project Files provide sufficient design management enabling them to avoid using a PDM system altogether. To simplify project management, Autodesk Inventor lets you create a separate Project File for each design. This unique functionality changes the focus of the data you use on a project-by-project basis. When an assembly is opened, Autodesk Inventor uses search paths within the active Project File as a guide to locate component parts and sub-assemblies. There are four different types of search paths that can be defined within a Project File: workspace, local, workgroup, and library. These search paths make Project Files flexible, allowing Autodesk Inventor to pull data from various independent locations.
- Workspace. This is a "work-in-progress" location on your personal workstation and acts as the default location for creating new files. Only one workspace can be defined with each Project File.
- Local Search Path. Local search paths point to local and/or network locations that only you have access to. You might copy a released design to a local search path location in order to create revisions, modifications, or a one-off design. There can be several local search paths.
- Workgroup Search Path. This search path is defined for file locations that will be accessed by other people working on the project. This could be server space reserved for a project or the location where released files are stored. There can be several workgroup search paths.
- Library Search Paths. This is the location where you would find your company's standard parts, such as fasteners and other hardware. These search paths often point to a server, and parts stored in this location rarely change. There can be several library search paths.
Autodesk Inventor's Project Files provide flexibility in defining where files are stored. To components in an assembly, the software follows the search paths in a specific order until it finds the file. First, Autodesk Inventor looks for files by following the library search paths, which as you may recall, are commonly used to store standard and purchased parts. Since standard hardware and purchased parts can represent a significant number of the total components found in an assembly, you can decrease the amount of searching Autodesk Inventor must do to resolve those components by placing them in the library search path. This equates to quicker load times. This also helps simplify the management of the libraries since common parts can be located in one directory on the server.
In order to find a library part, Autodesk Inventor looks for a library designator defining the location for the part in the assembly file. Library designators are labels Autodesk Inventor internally stamps on library parts. They are noted with "%xxxx%." If Autodesk Inventor finds a library designator, it looks in the appropriate library listed in the Project File; otherwise, it searches the workspace, local paths, and workgroups.
Figure 1. When opening an assembly, Autodesk Inventor searches for referenced parts in user-defined locations that are identified by the active Project File. The Project File removes the dependency between the data set and the file locations, helping to eliminate problems commonly encountered when relocating data. Here you see the sequence Autodesk Inventor follows to resolve an assembly.
Next, Autodesk Inventor searches for the non-library components. For these parts the system sequentially checks the workspace, the local paths, the workgroup paths, and finally the parent folder and its sub-folders, as shown in Figure 1. Only after the software has searched through the entire list of user-defined locations will it display a Resolve Link dialog, providing yet another level of flexibility as you browse to the file.
How To Use Them Properly
There are commonly three different types of environments you may be working in: isolated, semi-isolated, and shared. The environment you work in will determine how you can best use Project Files.
- Isolated. Users belonging to an isolated work environment typically copy all of the files from the network to their personal workspace. A system administrator usually monitors or controls this action. In this situation, create and maintain Project Files on your local computer. The Project File should specify a personal workspace and any additional local search paths.
- Semi-isolated. Users working within a semi-isolated environment commonly store files on a server for a workgroup to share. When they need to make a change or revision, they typically copy the required files to a personal workspace on their computer. Users may reference components that are not required for the design change from the server. In this situation, you should create and maintain a Project File on your local computer that identifies a personal workspace or local search paths locating the work-in-progress files, and link to a "community" Project File for any referenced components found on a server. This workflow saves time when working with large assemblies because you do not have to copy the entire assembly to your workspace.
- Shared. When working in a shared environment, users store most or all of the files on the network, where everyone working on the project can access them. All designers use one Project File maintained on the server.
The concepts behind Project Files, how they work, and how they fit into your working environment are quite simple. Properly using Project Files provides you the flexibility required to easily relocate your data. In the second part in this series, we will provide some tips and tricks about creating and maintaining Project Files.
In her easy-to-follow, friendly style, long-time Cadalyst contributing editor and Autodesk Technical Evangelist Lynn Allen guides you through a new feature or time-saving trick in every episode of her popular AutoCAD video tips. Subscribe to the free Cadalyst Video Picks newsletter and we'll notify you every time a new video tip is published. All exclusively from Cadalyst!