Defining a package

You can define your own feature packages if you need to group features that are not currently included in a predefined package.

<Package> definitions specify the bundles that are included within each package. For example, this is the standard CAD package DefaultCAD:

<Package a:id="DefaultCAD">
	<addBundle>BOM_EXPORT_TO_FILE</addBundle>
	<!-- <addBundle>MATERIAL_ASSIGNMENT_USING_EXPORTER</addBundle> -->
	<!-- <addBundle>CAE</addBundle> -->
	<!-- <addBundle>MANUFACTURING_PROCESSES</addBundle> -->
	<!-- <addBundle>SURFACE_TREATMENTS</addBundle> -->
	<!-- <addBundle>COLORS</addBundle> -->
	<!-- <addBundle>SUMMARY_DATASHEET</addBundle> -->
	<!-- <addBundle>SIMULATION_RECORDS</addBundle> -->
	<!-- <addBundle>USAGE_TRACKING</addBundle> -->
</Package>

You can adapt the package definitions to your requirements by adding or removing bundles. You can also define your own packages, if required.

Note: Any changes you make to a package definition will apply to all of the role configurations that it is used in. Hence, if you want to customize a package for a particular role or host application, without affecting any others, you may prefer to define a new package instead.

For example: if you wanted to enable CAE model assignment for all CAD users on your system, you could edit the standard CAD package DefaultCAD to enable the CAE bundle.

<Package a:id="DefaultCAD">
	<addBundle>BOM_EXPORT_TO_FILE</addBundle>
	<!-- <addBundle>MATERIAL_ASSIGNMENT_USING_EXPORTER</addBundle> -->
	<addBundle>CAE</addBundle>
	...
	</Package>

However, if you wanted to enable the feature for NX users but not for Creo users, you could define a new custom package ‘CADWithCAE’ instead:

<Package a:id="CADWithCAE">
	<addBundle>BOM_EXPORT_TO_FILE</addBundle>
	<!-- <addBundle>MATERIAL_ASSIGNMENT_USING_EXPORTER</addBundle> -->
	<addBundle>CAE</addBundle>
	...
	</Package>

and then edit the MI_READ Role definition to make this custom package available to NX users.

<Role a:role="MI_READ">
<defaultProfile a:precedence="1">MI_MMPDS09_1.4.3m</defaultProfile>
<addPackage a:packageId="DefaultCAE_Import" a:host="MIMaterialsGateway_ANSA"/>    
<addPackage a:packageId="DefaultCAE_Import" a:host="MIMaterialsGateway_ANSYS_Workbench"/>
<addPackage a:packageId="DefaultCAD" a:host="MIMaterialsGateway_Creo"/>
<addPackage a:packageId="CADWithCAE" a:host="MIMaterialsGateway_NX"/>
</Role>