Esko Logo Back to Esko Support
Choose your language for a machine translation:
Skip to end of metadata
Go to start of metadata


Question

What XML outputs can I run from a canvas that includes layout information?

Answer

Canvas file

A canvas file (.ACD) can contain part ARDs and layouts.

Configuration

A Bill of Materials (BOM) XML output can be configured to show in different menus. 

The resulting XML will be dependent on how the XML output was run.  

Canvas XML

To output XML information about the canvas including layouts:

  1. Set the Output Type > Output Type to Bill of Materials and the Project Bill of Materials > Processing to XML
  2. Check Parts Outputs in Output Type > Show in.
  3. Generate the XML via the File/Parts > Parts Outputs > xml output menu when the canvas file is opened.

Do not invoke the menu items Projects > Bill of Materials Reports > xml report nor File > Outputs > xml report. XML is generated, but it is created in the context of Production part ARDs in a Bill of Materials, not an iteration through the canvas.

The canvas file can be used to seed a BOM with production parts. In this case, navigate Projects > Bill of Materials Reports > xml report to create a BOM of production parts.

There is no reason to navigate to File > Outputs > xml report for XML. Avoid using it.

18.0.1

As of 18.0.1, Canvas layout XML will include userfields and attributes for standard and enterprise edition respectively, as well as report prompted text.

Advanced information

 So given any open canvas file, XML will be created as follows:

Case IDMenu to ExecuteOutput Type > Show InProject OpenCanvas Production Parts Saved into ProjectCanvas Doc Added to BOMResultLayouts Included
1File > Outputs > xml report

Output

(error)(error)
No XML/report; project must be openedN/A
1.a

(tick)(error)
No XML/report; project must contain parts documentsN/A
1.b



(tick)BOM XML using ACD as a BOM document produced; no part ARDs in BOM(error)
1.c


(tick) 
BOM XML of part ARDS produced(error)
2Projects > Bill of Materials Reports > xml report

Project- Bill of Materials

(error)(error)
No XML/report; entry disabledN/A
2.a

(tick)(error)
No XML/report; project must contain parts documentsN/A
2.b



(tick)BOM XML using ACD as a BOM document produced; no part ARDs in BOM(error)
2.c


(tick)
BOM XML of part ARDS produced(error)
3Parts or File > Parts Outputs > xml report

Parts Outputs

**
Canvas XML of part ARDS produced(tick)

Standard edition

  • For Case ID 1.* & 2.*, an actual Bill of Materials (BOM) is run. This means a project must be open and the production parts must be saved as ARDs. MFGs are not allowed in the project, so no canvas layout will be created in the XML.
  • For Case ID 1.b & 2.b, the canvas document itself is considered part of the BOM. However, the production parts are not expanded in the XML.
  • For Case ID 3, the canvas will use the (BOM) technology to iterate through the parts on the canvas and create XML, but canvas layouts will be included in the XML as the iteration is through the canvas and not the BOM project documents.

Enterprise edition

  • Case ID 1: No project is ever considered open in the standard edition sense. Therefore this output will not run.
  • Case ID 1.b & 2.b: the production parts are expanded in the XML.
Article information
Applies to

ArtiosCAD 18

Created30-Aug-18
Last revised
AuthorGSY
Case Number
Contents