-
Notifications
You must be signed in to change notification settings - Fork 5
Tutorials
cheese3660 edited this page Dec 12, 2023
·
4 revisions
[TBD]
So, you've added a module to your part, but you want it to show up in the PAM (Part Action Manager), as this does not happen by default. For this you want to add the following after the part where you add your modules
:parts ... {
// Add the modules here
PAMModuleVisualsOverride: +[
{
PartComponentModuleName: "...", // This is the module (usually of the form PartComponentModule_etc...) you want to add to the PAM of (e.g. PartComponentModule_ResourceConverter)
ModuleDisplayName: "Your/Localized/Name", // This is the localization key of your modules PAM name
ShowHeader: true, // Whether or not you want to show the header in the PAM
ShowFooter: false // Whether or not you want to show the footer in the PAM
}
// You can add more modules by adding more comma separated blocks like above
];
// If you wish to change how your module is sorted as well
PAMModuleSortOverride: +[
{
PartComponentModuleName: "...", // This is the module (usually of the form PartComponentModule_etc...) you want to change the sorting of (e.g. PartComponentModule_ResourceConverter)
sortIndex: 40 // This is the sort index in the PAM for your part, you have to fine tune this yourself, 40 is a good starting point
}
// You can add more overrides by adding more comma separated blocks like above
];
}[TBD]