• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X PCB Editor
  3. Mass remap 3D models

Stats

  • State Suggested Answer
  • Replies 3
  • Answers 1
  • Subscribers 159
  • Views 7419
  • Members are here 0
More Content

Mass remap 3D models

JHabib
JHabib over 2 years ago

Hello,

I have several hundreds of footprints created with 17.2/17.4. Some have models mapped with an old 3D mapper, some were mapped with a new 3D viewer. Now our mechanical engineer improved quality of 3D models and I want to automatically remap all models. I don't want to make any changes to positions, I just want to open 3D viewer, push delete button, then import and select an appropriate model. Filenames of .dra and .step files are different. I currently have 17.4.036. Is it possible? Thanks!

  • Sign in to reply
  • Cancel
  • mahimag
    0 mahimag over 2 years ago

    You can achieve this through 3D mapper in 3D Canvas. When the 3D Canvas is open (View > 3D Canvas) see the 3D mapper tab and you will find export/import button. Export will export the .map file for the current mapping and importing the same .map file again will remap you models and enable the advanced 3D mapper capabilities.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • JHabib
    0 JHabib over 2 years ago in reply to mahimag

    You described a way to do it manually. I would like to have a script or SKILL code to accomplish my task automatically. Is it possible? I don't want to do it manually with each footprint when there are hundreds of them.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mahimag
    0 mahimag over 2 years ago in reply to JHabib

    JHabib Actually you do not have to do this manually for each footprint, when you invoke 3D Canvas > 3D mapper, select all the symbols and do a Export of *.map file and then import the same map file again.

    Also, if you are looking for a script, you can go to File > Script  and record a script as below which basically performs the same steps of opening 3D Canvas and exporting the *map file

    I have recorded the below script, hope this helps!!

    # Allegro script
    # file: C:/Cadence/SPB_17.4/share/pcb/examples/step/STEP_workshop/SPB-17-2-STEP-Export-Tutorial/x.scr
    # start time: Wed Jun 21 12:08:56 2023
    # Version: 17.4-2019 S036 (4093930) Windows SPB 64-bit Edition
    version 17.4

    setwindow pcb
    trapsize 71157
    generaledit
    3d
    QtSignal 3DUniFilterDialog UniFilterOkButton clicked
    QtSignal pcb3d_MapperTab packageDeviceList itemChanged 0 "0603RF_WV_12D"
    QtSignal pcb3d_MapperTab packageDeviceList itemChanged 1 "1206RF_WV_12D"
    QtSignal pcb3d_MapperTab packageDeviceList itemChanged 2 "A_CR-0805"
    QtSignal pcb3d_MapperTab packageDeviceList itemChanged 3 "A_DIODE-157"
    QtSignal pcb3d_MapperTab packageDeviceList itemChanged 4 "A_MC-1206_A"
    QtSignal pcb3d_MapperTab packageDeviceList itemChanged 5 "A_SOT363"
    QtSignal pcb3d_MapperTab packageDeviceList itemChanged 6 BATT1
    QtSignal pcb3d_MapperTab packageDeviceList itemChanged 7 CONN10
    QtSignal pcb3d_MapperTab packageDeviceList itemChanged 8 "LED-DISPLAY"
    QtSignal pcb3d_MapperTab packageDeviceList itemChanged 9 SOIC14
    QtSignal pcb3d_MapperTab packageDeviceList itemChanged 10 SOIC16
    QtSignal pcb3d_MapperTab packageDeviceList itemChanged 11 SOIC8
    generaledit
    QtSignal pcb3d_MapperTab packageDeviceList itemSelectionChanged SOIC8
    QtSignal pcb3d_MapperTab packageDeviceList currentRowChanged 11
    QtSignal pcb3d_MapperTab packageDeviceList itemSelectionChanged SOIC16 SOIC8
    QtSignal pcb3d_MapperTab packageDeviceList currentRowChanged 10
    QtSignal pcb3d_MapperTab packageDeviceList itemSelectionChanged SOIC14 SOIC16 SOIC8
    QtSignal pcb3d_MapperTab packageDeviceList currentRowChanged 9
    QtSignal pcb3d_MapperTab packageDeviceList itemSelectionChanged "LED-DISPLAY" SOIC14 +
    QtSignal SOIC16 SOIC8
    QtSignal pcb3d_MapperTab packageDeviceList currentRowChanged 8
    QtSignal pcb3d_MapperTab packageDeviceList itemSelectionChanged CONN10 "LED-DISPLAY" +
    QtSignal SOIC14 SOIC16 SOIC8
    QtSignal pcb3d_MapperTab packageDeviceList itemSelectionChanged "A_DIODE-157" "A_MC-1206_A" +
    QtSignal "A_SOT363" BATT1 CONN10 "LED-DISPLAY" SOIC14 SOIC16 SOIC8
    QtSignal pcb3d_MapperTab packageDeviceList currentRowChanged 3
    QtSignal pcb3d_MapperTab packageDeviceList itemSelectionChanged "1206RF_WV_12D" "A_CR-0805" +
    QtSignal "A_DIODE-157" "A_MC-1206_A" "A_SOT363" BATT1 CONN10 "LED-DISPLAY" SOIC14 +
    QtSignal SOIC16 SOIC8
    QtSignal pcb3d_MapperTab packageDeviceList currentRowChanged 1
    QtSignal pcb3d_MapperTab packageDeviceList itemSelectionChanged "0603RF_WV_12D" "1206RF_WV_12D" +
    QtSignal "A_CR-0805" "A_DIODE-157" "A_MC-1206_A" "A_SOT363" BATT1 CONN10 "LED-DISPLAY" +
    QtSignal SOIC14 SOIC16 SOIC8
    QtSignal pcb3d_MapperTab packageDeviceList currentRowChanged 0
    QtSignal Collision_Detection collisionTolerance editingFinished 0
    QtSignal pcb3d_MapperTab pushButtonExport clicked
    QtFillin "y.map"
    QtSignal pcb3d_MapperTab Import clicked
    QtFillin "y.map"
    QtSignal pcb3dViewer pcb3dViewer closed

    # stop time: Wed Jun 21 12:09:26 2023

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information