Elements of an XML CAD Mapping File
To map CAD properties to aPriori UDAs and production inputs, you must:
define these mappings in an XML file
verify that the XML is valid
load the file into aPriori
Note: Because every company has different CAD property fields and different requirements, aPriori does not provide a standard out-of-box mapping file. We suggest that you contact aPriori Customer Support or Professional Services for a starting file that is appropriate for your company. Every XML mapping file must consist of a series of source/target mapping statements, where the source specifies the CAD property and the target specifies the aPriori attribute and its type. We advise against trying to copy and paste snippets found in the documentation into a mapping file, since formatting and autocorrected characters like straight quotes can cause problems that are difficult to debug.
Note: CAD properties and aPriori attributes are case-sensitive.
Here is a sample of a mapping file from Release 2015 R1. It defines different mappings for PRO/E and NX systems, for both User Defined Attributes and production inputs. The Pro/E Material mapping maps multiple properties to a single Material attribute. In this case, the first mapping that works takes precedence.
The steps that you would follow to create this file are explained later in this chapter, in CAD Properties Mapping Examples. Additional examples showing some of the capabilities introduced in Release 2018 R1 SP1 are also provided.