Extended modules > PCB > Store and load models
  
Store and load models
* 
The local origin of each 3D mechanical model in the LIB_PART assembly must be located at the PCB assembly origin. The local origin of each 3D mechanical model must be located at the world origin. This is a prerequisite for the accurate placement of models in the PCB assembly. The part position and orientation data imported with a PCB assembly are interpreted by Creo Elements/Direct Modeling IDF Data Adapter (PCB I/F) with respect to the origin of the PCB assembly. The origin of the PCB assembly is same as the origin of the PCB assembly's BOARD-CUTOUT profile workplanes (for example, drilled holes).
To store a single model in a library,
When you have created or changed a model in Creo Elements/Direct Modeling IDF Data Adapter (PCB I/F), you can use Store One to save this model as a MIBS file in a file-based library or as a LIBRARY_3D model in Creo Elements/DirectModel Manager so that it can be used again for another PCB assembly.
1. Click PCB and then, in the Model group, click Filing.
2. Click Store One. The Store Model dialog box opens along with the Local Lib table.
3. In the LibPath box, specify or select the path of the library in which you want to store the newly created or changed model. If you want to use the model as a substitute for imported PCB assembly parts, make sure that this library path is specified in your sdpbc_customize file. file. For details, see Configuring Creo Elements/Direct Modeling IDF Data Adapter (PCB I/F).
4. In the SubPath box, select or specify a subdirectory path for the model file to be saved. You can use such subdirectories to build structures for part selection. If you specified a directory such as:
C:\My Library\pcb_parts
in the previous step, you can store your new model in a subdirectory such as:
C:\My Library\pcb_parts\resistors
5. Select or specify the model to be saved. You can select the model from the viewport, the Structure Browser, or from the table of the models that belong to the active PCB assembly.
6. Click .
To store all the active PCB models in a library,
1. Click PCB and then, in the Model group, click the arrow next to Filing.
2. Click Store All. The Store Group dialog box opens along with the Libraries table.
This is similar to the Store One command but stores all the active PCB assembly models (from the LIB_PART) in a library. The menu switches perform the following:
Geo Model
-
Models are saved using ECAD geometry names.
PN Model
-
Models are saved using PARTID values for the model name.
To load a model,
Use Load to load models for use in a PCB assembly. Before you can load a model, you need to create or load a PCB assembly in Creo Elements/Direct Modeling IDF Data Adapter (PCB I/F).
If you want to use specific models rather than an entire library for replacing parts of an imported PCB assembly, you need to create an unnamed assembly in Creo Elements/Direct Modeling IDF Data Adapter (PCB I/F) first. Simply click New in the Assembly group on the PCB tab. Then click in the Create PCA dialog box without specifying an assembly name.
Proceed as follows to load a model in Creo Elements/Direct Modeling IDF Data Adapter (PCB I/F):
1. Click PCB and then, in the Model group, click the arrow next to Filing.
2. Click Load. The Load Model dialog box opens along with the Libraries table.
3. Specify or select the path of the library containing the model(s) you want to load.
a. For a files-based library, you must specify or select the part file containing the model you want to load. Click Model to open a file browser and browse to the MIBS file for the model you wish to load.
b. For a Creo Elements/DirectModel Manager library, type the name of the model you want to load. The actual name of the LIBRARY_3D model in the database has three components. For example, if the name is SDPCB_MODEL_Extruded_plcc20, SDPCB represents the PCB I/F library root name, MODEL represents the type (Type is automatically applied and interpreted), Extruded represents the Creo Elements/DirectModel Manager library and plcc20 represents the actual model name.
4. Optionally, click Next to repeat this procedure for other models you want to load at the same time.
5. Click .
The model(s) is loaded at the origin of the active PCB assembly. Once the models you want to use are loaded in Creo Elements/Direct Modeling IDF Data Adapter (PCB I/F), you can add shared copies of each model to a PCB assembly. For details, see PCB Parts.