Beruflich Dokumente
Kultur Dokumente
Spec Export/Import
Using Excel
Intergraph® CADWorx® Plant 2016
Capability Review – Spec Export/Import Using Excel
Contents
1. Capability/Enhancement Overview.............................................................................. 1
i
Capability Review – Spec Export/Import Using Excel
1. Capability/Enhancement Overview
The enhancements to Specification Export using Excel and the implementation of Specification Import
using Excel provide an entirely new design to work with spec data using Excel interactively.
Exports are performed using Excel named cells, allowing users to create or use their own Excel
specification templates and control data contents and placement using inclusion/exclusion and location of
supported cell names.
Imports are restricted to target a specification originating the export. Import capabilities are intended
towards Specification updates only, as opposed to creation of new Specifications.
- User control over format of export template through Excel named fields
- User control over content of export through removal of unwanted fields from the export template
- Ability to export basic component listing with one component record per size range
- Ability to export detailed component listing with one component record per unique size
- Ability to make updates to Specification properties and component properties in the Excel export
and import the updates back into the originating spec
- Ability to review data changes on import and include/exclude specific data updates in/from the
import
1
Capability Review – Spec Export/Import Using Excel
2. Capability/Enhancement Review
2.1 Export Specifications Using Excel
To export all specifications included in a Project File (.PRJ) to Excel at once, right click on the Project
Name (top node) in the Project Specs palette and select “Export Specifications to Excel”.
This will prompt you to select the Excel template to be used for export and specify the Export path to be
used.
Each Specification included in the Project File (.PRJ) will be exported to a separate Excel file (.XLSX),
named after the Specification Name, formatted per the selected Excel template.
To export individual Specifications to Excel, right-click on the Specification Name in the Project Specs
palette and select “Export Specification to Excel”.
This will prompt you to select the Excel template to be used for export and specify the Export path and file
name to be used.
2
Capability Review – Spec Export/Import Using Excel
The Excel template for used for export determines the Specification content included with the export, as
well as the location of export for each Specification or Component data item.
The Excel export uses Named Cells referenced in the selected Excel template to include or exclude
Specification/Component data items to any particular location. Refer to the section on Named Cell
Reference below for Cell Names available to access specific Specification/Component data items.
Note that Specification import using Excel depends on a combination of a Component Type + Component
ID; the Component Type and Component ID fields should therefore always be included in a Specification
Export to Excel to enable downstream Excel import. Columns used for export of the Component Type
and/or Component ID can be hidden in the Template if users prefer not to have these fields visible but still
have them exported. Hidden fields are accessible to the Excel Export/Import functionality, hence they
satisfy the requirement.
3
Capability Review – Spec Export/Import Using Excel
This will prompt you to select the Excel file (.XLSX) for Import.
The selected Excel file is verified against the target Specification to ensure that the Excel contents
originate from the selected target Specification. The Excel Import functionality supports Specification
updates only; copying existing specifications or creating new specifications should be performed using
Catalog and Specification Data Transfer functionality provided in the Specification Editor as before.
The Component Type + Component ID are used to match components between the target Specification
and the selected Excel file. Component updates cannot be performed if the Excel data set excludes
Component Type and/or Component ID data.
4
Capability Review – Spec Export/Import Using Excel
Since Component properties are managed at a component item level and not at a component item size
level, Component updates can be imported from the Basic Listing format only and not from Advanced
Listing format. Refer to the section on Named Cell Reference for Component Properties below for
additional detail on the use of Basic versus Advanced Listing formats.
Data updates found between matching Specification and Component properties are listed for review.
Individual updates can be included/excluded from the Import by checking/unchecking the associated
checkbox for the update item. Checking/Unchecking a checkbox at the category level will check/uncheck
all update items included under that category at once.
Once the identified updates have been reviewed and scoped, you can proceed with the Import
accordingly using the “Import” button or cancel the import using the “Cancel” button.
A copy of the target Specification can be saved automatically prior to executing the update by checking
the “Save backup project” checkbox. The “Save backup project” checkbox is checked by default. Backup
copies are saved in the same folder as the target Project File (.PRJ), and carry the extension .BAK.
Renaming the extension .BAK to .PRJ will restore the Project File backup.
5
Capability Review – Spec Export/Import Using Excel
Listed Specification property Cell Names included in the selected Excel Template will be populated with
the associated Specification property value.
The location of the Named Cell in the Excel Template represents position of the exported Specification
property value.
Listed Specification property Cell Names excluded from the selected Excel Template will remove the
associated Specification property value from export.
Table 1: Specification Properties
6
Capability Review – Spec Export/Import Using Excel
As an example, the ExportExcelTemplatePIP.xlsx file included with the installation has “SPEC_NAME”
assigned to the below highlighted cell on the “Standard” Worksheet.
Template Setup
When a Specification property already listed elsewhere needs to be placed a subsequent time on the
same or a different Worksheet, you can use the associated Named Cell in the Formula field. As an
example, the ExportExcelTemplatePIP.xlsx file included with the installation has the Specification Name
property located on the Detailed Worksheet as well by referencing the existing Named Cell as a formula
“=SPEC_NAME” in the Detailed Worksheet cell as indicated below.
Template Setup
7
Capability Review – Spec Export/Import Using Excel
Export Results
8
Capability Review – Spec Export/Import Using Excel
Table 2 lists available Specification Schedule properties. A Specification Schedule setup is a range-type
setup with one Schedule value listed per Pipe Size. The Cell Name reference listed alongside each
Specification Schedule property indicates the Excel Cell Name used to export each associated
Specification Schedule property. The Export/Import column is marked by ‘X’ where applicable to
designate which properties are available for Export and Import respectively.
Listed Specification Schedule property Cell Names included in the selected Excel Template will be
populated with the associated Specification Schedule property value.
The location of the Named Cell in the Excel Template represents the top-row of the exported
Specification Schedule range. Subsequent rows in the exported Specification Schedule range will be
inserted directly below the top-row.
Listed Cell Names excluded from the selected Excel Template will remove the associated Specification
Schedule property value from export.
Table 2: Specification Schedule Properties
9
Capability Review – Spec Export/Import Using Excel
Export Results
10
Capability Review – Spec Export/Import Using Excel
Table 3 lists available Specification Custom Field properties. A Specification Custom Field setup is a
range-type setup with each Custom Field value listed per Specification Custom Field. The Cell Name
reference listed alongside each Specification Custom Field property indicates the Excel Cell Name used
to export each associated Specification Custom Field property. The Export/Import column is marked by
‘X’ where applicable to designate which properties are available for Export and Import respectively.
Listed Specification Custom Field property Cell Names included in the selected Excel Template will be
populated with the associated Specification Custom Field property value.
The location of the Named Cell in the Excel Template represents the top-row of the exported
Specification Custom Field range. Subsequent rows in the exported Specification Custom Field range will
be inserted directly below the top-row.
Listed Cell Names excluded from the selected Excel Template will remove the associated Specification
Custom Field property value from export.
Table 3: Specification Custom Field Properties
11
Capability Review – Spec Export/Import Using Excel
Export Results
In this case I added a single Custom Field to the Specification, named “CUST_FIELD” and titled
“CUST_FIELD” with other values also as reflected in the above export.
12
Capability Review – Spec Export/Import Using Excel
Table 4 lists available Specification Branch Table properties. A Specification Branch Table setup is a
Table-type setup listing Main x Reduction size values. The Cell Name reference listed alongside each
Specification Branch Table property indicates the Excel Cell Name used to export each associated
Specification Branch Table property. The Export/Import column is marked by ‘X’ where applicable to
designate which properties are available for Export and Import respectively.
Listed Specification Branch Table property Cell Names included in the selected Excel Template will be
populated with the associated Specification Branch Table property value.
The location of the “BRANCH_TABLE” Named Cell in the Excel Template represents the top-left
intersection of the “Main Size” and “Branch Size” headers for the exported Specification Branch Table. All
Branch Table values are populated consistent with the Branch Table setup in the Specification Editor
respective to this Named Cell header intersection location.
The location of the “BRANCH_LEGEND” Named Cell in the Excel Template represents the top-row of the
exported Specification Branch Table Legend. Subsequent rows in the exported Specification Branch
Table Legend will be inserted directly below the top-row.
Listed Cell Names excluded from the selected Excel Template will remove the associated Specification
Branch Table property value from export.
Table 4: Specification Branch Table Properties
13
Capability Review – Spec Export/Import Using Excel
Export Results
14
Capability Review – Spec Export/Import Using Excel
Under the Basic Component listing format, Component Data is exported much the same way is it is listed
in the Specification Editor Component list. One record is exported for each Component item in the
Specification, representing the full size range for that component as listed in the Specification.
When importing Specification updates back into the target Specification using the Specification Editor
Excel Import functionality, updates made to the Component Basic Listing will be imported only.
Table 5 lists available Component properties with associated Named Cell references for Basic Listing
format export. These are the single-value Component properties available for Excel export. The Cell
Name reference listed alongside each Component property indicates the Excel Cell Name used to export
each associated Component property using the Basic Listing format. The Export/Import column is marked
by ‘X’ where applicable to designate properties are available for Export and Import respectively
Listed Specification property Cell Names included in the selected Excel Template will be populated with
the associated Component property value.
The location of the Named Cell in the Excel Template represents position of the exported Component
property value.
Listed Component property Cell Names excluded from the selected Excel Template will remove the
associated Component property value from export.
Table 5: Component Properties – Basic Listing Format
15
Capability Review – Spec Export/Import Using Excel
Values for Component properties under the Basic Listing format are exported to reflect the property
settings assigned to each Component in the Specification Editor. Long Description/Short Description/Part
Number/Tag schemas are exported as their respective Schema strings. “Use Specification Schedule”,
“Use Specification Material”, etc. options are exported as “Use Specification Schedule”, “Use
Specification Material”, etc. accordingly.
16
Capability Review – Spec Export/Import Using Excel
Export Results
17
Capability Review – Spec Export/Import Using Excel
Under the Detailed Component listing format, Component Data is exported per Component item size.
One record is exported for each Component item size available across the Specification Components.
When importing Specification updates back into the target Specification using the Specification Editor
Excel Import functionality, updates made to the Component Basic Listing will be imported only. Updates
made to the Component Detailed Listing will not be imported. The reason for this is that Component
properties in the Specification are managed at the Component item level, not at the Component item size
level.
Table 6 lists available Component properties with associated Named Cell references for Detailed Listing
format export. The Detailed Listing format Cell Names are identical to the Basic Listing format Cell
Names, with “_D” suffix. These are the single-value Component properties available for Excel export. The
Cell Name reference listed alongside each Component property indicates the Excel Cell Name used to
export each associated Component property using the Detailed Listing format. The Export/Import column
is marked by ‘X’ where applicable to designate properties are available for Export and Import respectively
Listed Specification property Cell Names included in the selected Excel Template will be populated with
the associated Component property value.
The location of the Named Cell in the Excel Template represents position of the exported Component
property value.
Listed Component property Cell Names excluded from the selected Excel Template will remove the
associated Component property value from export.
Table 6: Component Properties – Detailed Listing Format
18
Capability Review – Spec Export/Import Using Excel
Values for Component properties under the Detailed Listing format are exported as the actual values
assigned to each Components size when placed in the model. Long Description/Short Description/Part
Number/Tag schemas are translated into the actual descriptions, part numbers, and tags assigned to
each Component size when placed in the model. “Use Specification Schedule”, “Use Specification
Material”, etc. options will be translated into the actual Schedule, Material, etc. values assigned to each
Component size when placed in the model.
19
Capability Review – Spec Export/Import Using Excel
Export Results
20
For more information about Intergraph, visit our website at
www.intergraph.com.