Edit Xref Components and Folders, In-place

You can edit the contents of external reference (xref) component views and folders, in-place. Changes are propagated to all drawing files that contain instances of the xref component or folder. While this is a convenient feature, it also means that if you modify an xref component or folder inadvertently, the mistake is propagated to all drawing files that contain instances of the component or folder.To minimize this risk, you must do one of the following before you edit the contents of an xref component view or folder.

  • Release the R-LOCK status bar button.
  • Activate the xref component view or folder you plan to edit.

When you release the R-LOCK status bar button, geometry from xref component views and folders can be grip edited. When an xref geometry is changed, AutoCAD Mechanical “Locks” the source drawing. This prevents other users from modifying the source while you edit the xref component/folder in-place. On the mechanical browser, components views and folders form the locked source file are flagged by a red lock icon ( ).

When you activate an xref component view or folder, AutoCAD Mechanical locks the source file of the xref.

The referenced file remains locked until you “purge” all locks or until you close the current drawing.

Procedures
To edit an xref component view or folder
  1. In the mechanical browser, double-click the xref component view or folder you want to modify to activate it. Geometry that doesn't belong to the selected view/folder are dimmed out.
  2. Perform appropriate modifications on the component view/folder geometry.
  3. Double-click a vacant area in the mechanical browser to reset activation.
NoteModifications to xref components are saved back to the source drawing when you save your current drawing. While you edit the xref component, other users cannot modify the source drawing. Once you finish the modifications, you must purge all locks to enable other users to work on the source drawing.
To purge locks
  1. In the mechanical browser, right-click a blank area. A menu is displayed.
    NoteXref components that are locked for editing in place are indicated by a red lock icon ( )
  2. Select Purge All Locks. AutoCAD Mechanical prompts you for confirmation.
  3. Click OK. The xref file is saved and the locks are released.
Commands
AMSCATALOG

Displays the Structure Catalog

 Ribbon: Structure tab Tools panel Structure Catalog.
 Toolbar: Structure
 Menu: Structure Structure CatalogDoes not exist in the menu in the current workspace.
 Command entry: amscatalog

The structure catalog enables you to manage the definitions of mechanical structure objects in a drawing. It is also the primary control center for managing xref operations for mechanical structure.

DIALOG BOX DEFINITIONS

Structure Catalog dialog box

External Drawings tab

Displays the names of drawing files accessible from your computer and displays the mechanical structure definitions and previews as appropriate.

 

Files

Displays drawing files and the hierarchy of folders on your computer and network drives, including My Computer and My Network Places. Right-click files and folders to display a menu containing the operations that can be performed on the clicked item.

 

Details

     

Mechanical Structure

Displays a tree containing icons, which shows the hierarchy of the definitions of structure (components, component views, folders and annotation views) of the file selected in the files panel. If the selected file contains an external reference (xref) subassembly, only the subassembly is displayed. Components collected under the subassembly are not displayed.

Drag a component view or folder on to model space to insert a new instance of an xref component view or folder, based on the definition you dragged. If you drag with the CTRL key pressed, AutoCAD Mechanical copies the component view or folder instead of inserting it as an xref. Right-click any item to display a menu that lists the operations that can be performed on the clicked item.

   

 

Preview

Displays a preview of the geometry of the definition selected in the Mechanical Structure panel. If a component that has multiple views is selected, AutoCAD Mechanical displays the previews of up to six views. If nothing is selected in the Mechanical Structure panel, displays a preview of the drawing selected in the files panel. If the selected item is an xref component or folder, no preview is displayed.

Favorites tab

Displays the names of drawing files that have been bookmarked as favorites and displays the mechanical structure definitions and previews as appropriate.

 

Files

Displays drawing files and the hierarchy of folders on your computer and network drives, including My Computer and My Network Places. Right-click files and folders to display a menu containing the operations that can be performed on the clicked item.

 

Details

     

Mechanical Structure

Displays a tree containing icons, which shows the hierarchy of the definitions of structure (components, component views, folders and annotation views) of the file selected in the files panel. If the selected file contains an external reference (xref) subassembly, only the subassembly is displayed. Components collected under the subassembly are not displayed.

Drag a component view or folder on to model space to insert it as an xref component view or folder. If you drag with the CTRL key pressed, AutoCAD Mechanical copies the component view or folder instead of inserting it as an xref. Right-click any item to display a menu that lists the operations that can be performed on the clicked item.

   

 

Preview

Displays a preview of the geometry of the definition selected in the Mechanical Structure panel. If a component that has multiple views is selected, AutoCAD Mechanical displays the previews of up to six views. If nothing is selected in the Mechanical Structure panel, displays a preview of the drawing selected in the files panel. If the selected item is an xref component or folder, no preview is displayed.

Current Drawing tab

Displays a tree showing the definitions of mechanical structure entities in the current drawing. It also shows a list of files that are referred to in the current drawing.

 

File References

Displays the source files that contain the definitions of the components/folders you have inserted to the current drawing as xrefs.

   

Sets the File Reference pane to a list view. The listed information includes:

     

Version

Displays the version of the file in the vault. The version column is preceded by a column that shows an icon that indicates the status of the file in the vault.

     

File name

Displays the name of the referenced file. The host drawing name is always displayed first. The tooltip displays the full path to the file.

     

Status

Displays the status of the referenced file. Possible statuses are:

  • Loaded -Currently attached to the drawing.
  • Unloaded - Unloaded or marked to be unloaded from the drawing once the structure catalog is closed.
  • Needs reloading - File has changed since it was loaded.
  • Unreferenced - No components or folders from this file exist in the current drawing and can be safely detached.
  • Not Found - No longer exists in the valid search paths.
  • Unresolved - Cannot be read by AutoCAD Mechanical .
  • Orphaned - Attached to another xref that is unresolved.
     

Size

Displays the size of the attached file.

     

Date

Displays the date when the referenced file was created or last saved.

     

Saved path

Displays the location that the host drawing expects the referenced file to be found.

   

Sets the File References pane to a tree view. The tree depicts the levels of nesting of file references within xrefs. The top-level of the tree view always shows the current drawing. Referenced files appear at the next level. Referenced files that contain their own nested file references can be opened to show deeper levels. When making selections in tree view, only one file reference can be selected at a time.

 

Mechanical Structure

   

Definitions

Displays a tree containing icons, which shows the hierarchy of the definitions of mechanical structure entities (inclusive of xref components and folders) contained in the drawing that is currently opened.

Drag a component view or folder on to model space to create and insert a new instance based on the dragged definition. Right-click any item to display a menu that lists the operations that can be performed on the clicked item. Right-click any item to display a menu that lists the operations that can be performed on the clicked item.

   

Preview

Displays a preview of the geometry of the entity selected in the Definitions panel. If a component that has multiple views is selected, AutoCAD Mechanical displays the previews of up to six views. If the selected component or folder is unresolved, no preview is displayed.

AMSPURGE

Removes unused definitions of all types of mechanical structure objects.

 Ribbon: Structure tab Manage panel .Purge All Not available on the ribbon in the current workspace.
 Toolbar: Structure
 Menu: Does not exist in the menu in the current workspace.Does not exist in the menu in the current workspace.
 Command entry: amspurge

This command prompts you to specify the type of objects to purge, and removes the definitions of those objects only.

COMMAND LINE OPTIONS

Enter the type of unused structure to purge [Components/Views/Folders/aNnotation views/All]: Enter the capitalized letter of the object type to pure or A to purge all.

To purge a definition, the object type and its name are shown on the prompt line.

To purge a component view, you will be prompted with the complete view tree definition name for the view.

If you specify All, and no unreferenced items of a specific type exist, an error message displays and you are returned to the command line.

Enter names to purge <*>: Enter the names of the objects to purge. You can also use wild card (*) to specify the names of the objects to purge.

Verify each name to be purged? [Yes/No] <Yes>: Enter Yes to confirm the names of the objects to purge.