Smart Client Extension for Revit
Smart Client Extension for AutoCAD

Publishing Drawings as Enterprise Graphics

This topic has the following sections:

Overview

You publish the CAD drawings as Archibus enterprise graphics to make them available throughout the enterprise for use in:

Enterprise graphics:

Making drawings available throughout the enterprise involves these steps:

  1. A Business Process Owner establishes a set of drawing publishing rules that define the drawing components to be published as enterprise graphics.
  2. The CAD specialist publishes drawings to enterprise graphics.

Note: Beginning with Archibus V.23.2, the Enterprise Graphics table (afm_enterprise_graphics) holds enterprise graphics information, such as type of file, use, file name for 2D and 3D enterprise graphics. If you have 3D enterprise graphics from a release prior to V.23.2, you must republish them for use in V.23.2 and later so that their data is populated to the afm_enterprise_graphics table. Republishing is not necessary for 2D graphics.

Archibus SaaS Deployments

In Archibus SaaS deployments, Smart Client detects that Web Central is deployed to the Cloud.

Publishing enterprise graphics follows this sequence:

  1. Saves enterprise graphics to the local or shared folder that is specified by the LocalDrawingFilesFolder configuration option in the C:\Program Files\archibus\xx\SmartClient\smartclient.common.dll.config file.

  2. Saves enterprise graphics to the server-side project folder, such as \projects\hq\enterprise-graphics.This directory is set in the projectGraphicsFolder in afm-projects.xml.

An administrator sets the following to control enterprise graphics publishing:

  1. Enable Cloud publishing by setting the AbSystemAdministration.EnableCloudPublishing application parameter to "1" using the System / Archibus Administrator - Application Configuration / Configure Application Parameters task.

  2. Optional. Retain the local files by setting DeleteOnDocManagementEnabled="false" in C:\Program Files\archibus\xx\SmartClient\smartclient.common.dll.config (located on the workstation).  Retaining the local files is handy for troubleshooting publishing issues. You must enable administrator privileges to edit smartclient.common.dll.config.

Advantages

Enterprise graphics offer the following benefits:

For Web Central forms in which you interact with your drawings, Archibus enterprise graphics have these advantages:

For paginated reports containing graphics, Archibus enterprise graphics have these advantages over DWG, RVT, and DWF-based solutions:

You can publish drawings as enterprise graphics from the Archibus Smart Client Extension for AutoCAD, or from the Smart Client Revit Extension.

Sample views that have enterprise graphics

To see the many uses of enterprise graphics within Archibus, examine these sample views in Web Central:

Use Path
Interactive Web forms Technologies / User Interface Add-Ins / Drawing Views
GIS Technologies / User Interface Add-Ins / GIS Views
Paginated reports Technologies / Business Process Owner Views / Paginated Reports

File Formats 

If you have created rules for these format types, drawing publishing can create the following files for each DWG drawing. These files enable enterprise graphics to be viewed on the Web, used in paginated reports, viewed on mobile devices, or used in GIS. With the Smart Client's System / Add-In Manager / Edit Drawing Publishing Rule task, you can specify to generate all of these types or generate specific types.

Format Example Purpose
SVG
(HTML)
hq17.svg

Combines background data and intelligent data in one file. There are default rules provided with the application for publishing to SVG. To edit these rules, see Editing SVG Drawing Publishing Rules.

For use on mobile devices.

Beginning with V.23.2, all Web Central views that used SWF format and the Flash Drawing Control were converted to use the HTML Drawing Control and SVG format.

EMF
(metafile)
hq17.emf

For paginated reporting and server-side processing. This is a file optimized for scalability and graphic fidelity.

KML  

For use in Google Maps and Google Earth. The generated files includes only boundary-type assets, such as gross areas, suites, rooms. and merges all floor plans into a single KML file for the building.

KML publishing is provided as an unsupported tool for those sites that wish to use Google Earth or other KML-compliant programs. The current feature is geared towards campus-scale space planning. Since 3D GIS technology is changing rapidly, Archibus may change this feature or the underlying technology in future releases.

JSON hq17-rm.JSON.zlib
hq17-gp.JSON.zlib
For use with GIS enhanced map views. Holds the intelligent Archibus asset information and index back into your drawings and building information models as a compressed object file. This set of objects contains information such as asset boundaries and primary key information.
SWF
(Flash)
hq17.swf

For Web Central views that use the Flash Drawing Control.

Beginning with V.23.2, all Web Central views that used SWF format and the Flash Drawing Control were converted to use the HTML Drawing Control and SVG format.

Use this option if you have custom views that use the Flash Drawing Control.

For various file formats, you can control how the system generates enterprise graphics. These options can be important for file optimization and selecting items in the generated enterprise graphics files. For information, see Controlling How Enterprise Graphics are Published.

Setting a Named View

When publishing enterprise graphics, you can specify the view size to publish. One of the selections is to publish a named view. A named view consists of a specific magnification, position, and orientation that you save for the drawing using the Auto CAD View command. For example, if you have drawings for the east and west sections of your campus, you might create named views for each of these.

You can specify the named view in the following ways:

The application uses the Extents option by default if any of the following are true:

Procedure: Publishing to Enterprise Graphics

Prerequisite

Define your drawing publishing rules with these tasks:

Task Program Help Topic
System / CAD and BIM Manager / Edit Drawing Publishing Rules Smart Client Edit Drawing Publishing Rules
System / Mobile Apps Manager / Edit SVG Drawing Publishing Rules Web Central Edit SVG Drawing Publishing Rules
System / SaaS Administrator / Edit SVG Drawing Publishing Rules Web Central Edit SVG Drawing Publishing Rules

Methods for publishing drawings

Invoke publishing in one of the following ways:

Program Command Description

Smart Client

Smart Client Extension for CAD

Drawing Preferences Set your drawing preferences to Publish Enterprise Drawings on Save. This means that the CAD tool publishes all active rules for a drawing whenever the AutoCAD DWG file is saved. See Setting Drawing Preferences.
Smart Client Extension for CAD Archibus / Synchronization / Publish Enterprise Graphics on Ribbon. This command provides selections to publish only the active drawing or all drawings.
Smart Client Extension for CAD the Archibus / Drawing / Save and Publish command on Ribbon This publishes all active rules for the active drawing .

Smart Client Extension for CAD

Smart Client Extension for Revit

Navigator task
  • Publish the set of rules relevant for a particular application. For example, from the Navigator in CAD, select the Space / Space Inventory / Room Inventory / Publish Enterprise Graphics task.
  • Smart Client Extension for Revit Archibus / Enterprise Graphics / Publish 2D on Ribbon Publishes standard 2D enterprise graphics
    Smart Client Extension for Revit Archibus / Enterprise Graphics / Publish 3D on Ribbon Publishes 3D enterprise graphics for use with the 3D Navigator.

    To publish enterprise graphics for all your drawings or for the open drawing

    1. Select Archibus / Synchronization / Publish Enterprise Graphics from the Ribbon (or use one of the methods above).
    2. The Publish Enterprise Graphics form appears.

    1. From the Publish Enterprise Graphics form, select to publish only the currently opened drawing or all drawings.

    Note If you encounter memory-related issues when publishing all drawings, you can publish your drawings in batches by running the AFM_BATCHPUBLISH command from the AutoCAD command line. See AFM_BATCHPUBLISH command.

    1. Select the view size to publish:
      • Extents Publish per the drawing extents. This is the default selection.
      • Floor Boundary. Publishes using a view that is the size of the largest floor boundary in a drawing. This is the gross area boundary.
      • Current View. Publishes using the currently displayed view.
      • Named View. Publish using a specific AutoCAD view name. When you select Named View, you also select the named view from the list. See Setting a Named View.
    2. For the various forms of enterprise graphics, you can specify the details of how the command should publish them. Click the Options button on the Publish Enterprise Graphics form to access these controls. For information, see Controlling How Enterprise Graphics are Published.
    3. Click Publish.

      The system starts the publishing process and displays a progress bar through the drawing set and the active rules set for each drawing.

      The drawings are published to the following folder: Archibus/projects/projectName/enterprise-graphics.

      The command line indicates that the drawings are published.

    Publishing enterprise graphics when Document Management for Drawings is enabled

    Note: Document Management for Drawings is not available for Archibus SaaS deployments.

    If your site has enabled Document Management for Drawings, the system publishes enterprise graphics files to the Web Central Document Management server (the central location where CAD drawings are stored and from which users check out documents to edit and check in their changed drawings).

    When this feature is enabled, you will notice that the form's option is: Publish All Drawings that are Checked Out.

    To publish your enterprise graphics files, you follow the procedure outlined above except that you add an initial step in which you check out any drawings for which you want to publish enterprise graphics.

    Notes

    Timeout

    If you attempt to publish a drawing on a slow internet connection to a remote Web Central server, the program may time out. You can increase the CloseTimeoutSeconds option in C:\Program Files\archibus\xx\SmartClient\SmartClient.Common.dll.config to allow for more time.

    <General FolderOption="" OptionalLeaderLayers="" PublishLeaders="false" RoomBoundaryEdge="1" DeleteOnDocManagementEnabled="false" CloseTimeoutSeconds="60"/>

    Region Publishing

    Enterprise graphics publishing includes AutoCAD regions. Regions display as their outer boundary, as is typically appropriate for diagram-style drawings on the Web. However, the area recorded in the database for calculation is the AutoCAD region area, which does consider any subtracted areas (such as building columns).

    Publishing Solid Areas to SVG Files

    To publish solid fill areas with SVG, such as areas of grass or lakes on a site plan, create an associative hatch in AutoCAD that is a solid fill. The SVG publishing rules will publish this as a closed, filled path.

    Publishing Block Assets

    All highlighting, thematic highlighting, and print highlighting for blocks works the same as for area boundary assets. When publishing enterprise graphics, Archibus handles block assets in the following way: