Generate Information Using the NC-XML File action present in the Process Plan Browser to generate manufacturing information from the NC-XML file. You can select one or more operations present in the Structure tab of the Process Plan Browser and launch this action. You can also select sub-operations. You can generate manufacturing information from a CAD document that has a valid NC-XML file attached as a secondary content file, or from a Windchill document that has a valid NC-XML file attached as a primary content file. So, as a prerequisite, you must attach an existing CAD document as a secondary content file or an existing Windchill described by document as a primary content file. For more information, see Associating a Document with an Object. Also, the entities mentioned in the NC-XML files must be present in the Windchill database. For example, a tool mentioned in the NC-XML file must be present in the Windchill database.
Generate Information Using the NC-XML File action, the system first searches for the CAD document attached to the operation. If the system does not find a valid CAD document, it searches for a valid described by document. For this action, the preference is always given to the secondary content file of the CAD document attached to the operation. That is, if a valid CAD document and described by document are present, the system loads the valid secondary content of the CAD document.




• The last three check boxes are selected by default, as shown in the image. You can make the changes according to your business requirements. • You must select at least one checkbox. • The entities mentioned in the NC-XML files must be present in the Windchill database. • Tools and fixtures are considered as two separate categories in Windchill. • When you select the Import Operations and Steps checkbox, the other four checkboxes are unavailable. The system automatically includes the operations, steps, and resources (tools, fixtures, workcell) in the selection. • When you select the Import Operations checkbox, the other four checkboxes are unavailable. The system automatically includes the operations and resources (tools, fixtures, workcell) in the selection. |

Status | Description |
Added | A new tool, fixture, or work cell is allocated to the operations. |
Updated | The existing tool, fixture, or work cell allocated to the operations is updated. |
Warning | The tool, fixture, or work cell allocated cannot be found. |
Removed | An existing tool, fixture, or work cell allocated to the operations is removed. |
A Manufacturing Operation to Consumable Link exists between the following entities: • An operation and a tool • An operation and a fixture • An operation and a work cell The information about the attributes on these links is also added, updated, or removed. You can also view the tooling attributes and the information on the link. Use the table view to add valid columns. For more information, see Customizing Table Views and Creating and Editing New Table View. |
Click Cancel to abort the operation. In this case, no tools are allocated to the operations. |
Generate Information Using the NC-XML File action. After its implementation, you made changes to the same secondary content file or primary content file. In such a case, when there is a change in the information in the attached NC-XML file, you can use the Generate Information Using the NC-XML File action again to update the manufacturing information in Windchill. The process described above remains the same. The system makes the changes accordingly, as specified in the NC-XML file.
Generate Information Using the NC-XML File action is complete, the operation remains checked-out.
Generate Information Using the NC-XML File action if the selected operations are checked out by another user.
Generate Information Using the NC-XML File action:
Generate Information Using the NC-XML File action. The working of this preference depends on the value set in the Search Criteria to Allocate Tooling to NC Generated Operations preference. The system searches for the entity based on the value set in the Search Criteria to Allocate Tooling to NC Generated Operations preference. The possible values for the Search Criteria to Allocate Tooling to NC Generated Operations preference are Name and Number. The possible values for the Applicable Object Mapping preference are as follows:
Generate Information Using the NC-XML File action. The default value is Operation. Specify a valid operation type based on your business requirements.Value set in the Search Criteria to Allocate Tooling to NC Generated Operations preference | Value set in the Mapping Attribute from NC-XML File for Resources Allocation preference | Description |
|---|---|---|
Number | Id | The system searches Id value in the NC-XML file. It also searches for the number. Based on the findings, the system allocates the tool to the operation. |
Number | InstanceName | The system searches for InstanceName of the tool in the NC-XML file. It also searches for the number. Based on the findings, the system allocates the tool to the operation. |

Property Name | Description |
|---|---|
com.ptc.windchill.mpml.nc.ImportSpecificResourceAttribute | Use this property to allocate a tool to the selected operation using attribute values from the NC-XML file. Configure the property in the following format: <Property name="com.ptc.windchill.mpml.nc.ImportSpecificResourceAttribute" default=""/> For example, <Property name="com.ptc.windchill.mpml.nc.ImportSpecificResourceAttribute" default="CUTTING_TOOL_ADAPTER"/> . Using the values of CUTTING_TOOL_ADAPTER, a tool is created in Windchill. You can allocate a tool to the selected operation using attribute values of CUTTING_TOOL_ADAPTER from the NC-XML file. |
com.ptc.windchill.mpml.nc.ImportAttributesFromXML | Certain link attributes are present on the Manufacturing Operation to Consumable Link. Use this property to save these link attributes. Configure the property in the following format: <Property name="com.ptc.windchill.mpml.nc.ImportAttributesFromXML" default=""/> For example, <Property name="com.ptc.windchill.mpml.nc.ImportAttributesFromXML" default="LENGTH,SPINDLE_SPEED,TOLERANCE,COOLANT_OPTION,TOOL_LONG_FLAG"/> . The LENGTH, SPINDLE_SPEED, TOLERANCE, and TOOL_LONG_FLAG columns appear in the Processing Resources tab of the Process Plan Browser. The LENGTH and TOOL_MATERIAL columns are highlighted in the image. The columns display the attribute values for the allocated tools. Consider the following points related to this property: • You can update tool link information from the NC-XML file. • The system allows you to update the attribute values that are on the link between operation and tooling. • Using this property, you can map attributes from the NC-XML file to Windchill. • The attributes such as LENGTH and TOOL_MATERIAL must be present in the Windchill database before you use the property. |
com.ptc.windchill.mpml.nc.ImportAttributesFromXMLForCombinedValues | Use this property to display the concatenated attribute values for the allocated tools. Configure the property in the following format: • For one to one mapping: <Property name="com.ptc.windchill.mpml.nc.ImportAttributesFromXMLForCombinedValues" default="TOOL_MATERIAL_Mfg=TOOL_MATERIAL"/> You can use the one to one mapping when the attributes in the NC-XML file and the attributes present in the Windchill database are different. For example, the attribute TOOL_MATERIAL_Mfg is present on your Windchill database, and the attribute TOOL_MATERIAL is present in the NC-XML file. You can configure the property to map such attributes. • For one as to many mapping: <Property name="com.ptc.windchill.mpml.nc.ImportAttributesFromXMLForCombinedValues" default="Concan=TOOL_MATERIAL,LENGTH,TOOL_LONG_FLAG;Concan1=UseOutline,SPINDLE_SPEED,TOLERANCE,COOLANT_OPTION,TOOL_LONG_FLAG"/> The Concan column appears in the Processing Resources tab of the Process Plan Browser. It is highlighted in the image. The columns display the attribute values for the allocated tools. Consider the following points related to this property: • You can use this property to map the tags and attributes present in the NC-XML file and the Windchill system. • You can also use this property to concatenate multiple attributes. • In the property, you can specify multiple attribute values separated by a comma. The values that are displayed in the columns are separated by semicolons. |
com.ptc.windchill.mpml.nc.ShowAttributeValuesAndName | Use this property to display the concatenated attribute names and values for the allocated tools. Configure the property in the following format: <Property name="com.ptc.windchill.mpml.nc.ShowAttributeValuesAndName" default=""/> For example, <Property name="com.ptc.windchill.mpml.nc.ImportAttributesFromXMLForCombinedValuesAndNames" default="Concan_A=TOOL_MATERIAL,LENGTH,UseOutline,SPINDLE_SPEED,TOLERANCE,COOLANT_OPTION,TOOL_LONG_FLAG"/> The Concan_A column appears in the Processing Resources tab of the Process Plan Browser. It is highlighted in the image. • Consider the following points related to this property: ◦ You can also use this property to concatenate multiple attributes. ◦ In the property, you can specify multiple attribute values separated by a comma. The values that are displayed in the columns are separated by semicolons. The columns display the information in the following format: Attribute Name = Attribute Value. For example, Attribute1 = Attribute1 Value; Attribute2 = Attribute2 Value. • Attribute1=Attribute1 Value;Attribute2 = Attribute2 Value • Attribute1=Attribute1 Value;Attribute2 = Attribute2 Value |