How to use “Mapkeys” to assign materials to different components for assembly in PTC Creo
Repetitively assigning materials to all parts is a time consuming process. So, in this Tech Tip, we will show you how to assign materials to all components in an assembly with the help of “Mapkeys”. This methodology of using “Mapkeys” saves your time approximately by 70% as the ‘mapkey takes care of the repetitive tasks’ which we perform while assigning materials to all components in an assembly.
We will use the ‘Motor Gear Box Assembly‘ to demonstrate “Mapkey functionality”. If you want to work on same “Motor Gear Box Assembly” you can download it by using ‘sign up’ or ‘free trial’ and getting an access to Tech Tips Section.
The video shows the process of creating material removal mapkey or follow below steps to know detailed use of “Mapkeys”.
The User Case
In the below figures the assembly ‘motor_gearbox_assembly.asm’ contains total 20 components. If we want to assign different materials to all these components by using regular material assignment process, then we will have to open each of the 20 components in a separate window and then by selecting ‘File –> Prepare –> Model Properties menu‘, we need to change the material assignment. We can reduce this repetitive task with the help of mapkey tool.
Observe below steps to achieve the required result –
Note: Do not unselect the component before starting the mapkey recording.
Note: Ensure that the component is not unselected.
Note: Do not click OK in ‘Materials’ dialog box.
Close the Material Properties dialog box and close the base_plate.prt window.
To run the Mapkey, select the next part cover.prt in the model tree and then press m and a keys on the keyboard one after other. Then the cover.prt opens and following dialog box comes
Double click the Legacy Materials folder and assign a different material to cover.prt Then click Resume.
Repeat the process of running the Mapkey for other components and assign them different materials.
For more tech tips and in-depth eLearning for PTC Creo, including new courses on other design solutions, please visit https://www.myigetit.com to explore more information or Just choose appropriate subscription plan to get started! If you should have any questions, please reach out to email@example.com or firstname.lastname@example.org for help.