Please enable JavaScript to view this site.

Navigation: 2. 3D Modelling > Components > Adding components

Adding a component from a KOMPAS-3D file (a part/subassembly, a local part, a mockup, a stock part)

Scroll

To add a component from a file to the model, invoke the command to insert a component of the appropriate type, specify the insertion parameters, check if the values specified are correct using the phantom, and complete the operation.

This section describes work with KOMPAS documents. The procedure for adding components with source models stored in files of other formats is given in section Adding imported components.

Component Insertion Commands

To insert a component from a file, invoke one of the following commands:

Add a component from a file — insertion of part or of assembly (depending on the file type); the link of the obtained insertion to the source file is preserved.

Add local part from file — insert part/assembly as local part.

Add a component mockup from file  — insertion of component mockup with the \retention of the link of the obtained insertion to the source file of the mockup and the source file of the component that serves as the source for the mockup (for mockups see section Component mockups).

Add stock part — inserting a part/subassembly as stock parts.

Selecting a model to insert

After invoking the component insertion command, the file selection dialog appears on the screen where you should specify the source model of the component (in the case of inserting a mockup, the source model of the mockup).

Specify the model file and confirm the selection.

When choosing the right model, pay attention to the following features.

If the model contains versions, you can select the desired version for insertion. If additional numbers are created for versions in the model, you can also select the desired additional number. The choice of version and/or additional number is made in the file selection dialog. Later, you can re-select the version and/or additional number using the relevant list on the Parameter Panel.

If during insertion of a local part in the Select File dialog, an assembly is specified, which in turn contains local parts, then you can insert one of these local parts instead of the entire assembly. Selection of the needed local part is done in the Select local part dialog which appears after the file selection is completed.

For more details on the specifics of selecting a model for insertion...

After the model is selected, its phantom will appear in the graphics area, and the insertion settings will appear on the Parameter Toolbar.

The path to the selected model will be displayed in the Component source file list (and in the case of inserting a mockup, in the Mockup source file field) in the main section of the Parameter Panel. If necessary, you can re-select a model by clicking on the list (field) name and specifying another model in the file selection dialog that appears.

When inserting any component, except for the mockup, you can select several models at once for insertion – their names will be added to the Parameter Toolbar list. For each model from the list, you should specify the insertion parameters and confirm the insertion using Create object button. For more details on inserting multiple components...

When inserting a mockup after selecting its source file, you need to specify the source file of the component which is the source for the mockup. To do this, click the Component source file field and specify the desired model in the file selection dialog that appears.

You can select and insert a component from the Windows Explorer. See the following section for details.

Select and insert a model from the Windows Explorer

You can insert a component into the current assembly by dragging the desired file from the Windows Explorer.

Specify a document file (files) in the Explorer and drag and drop it. As soon as the cursor is over the KOMPAS-3D window, it will split into two areas: the lower (pink) with the Paste inscription and the upper (filled with highlight color) with the Open label.

To insert a model into the assembly, move the cursor to the lower part of the KOMPAS-3D window (its highlight will become brighter) and release the mouse button. This will automatically start the Add a component from a filecommsnd. The graphic area will display a model phantom, and elements of insertion settings will appear on the Parameter Panel.

If the model contains version, the current version is inserted. You can change it using the relevant list on the Parameter Panel, if needed.

If you need to open a model in a separate window, move the cursor to the upper part of the KOMPAS-3D window and release the mouse button.

Selecting the insertion type

Type of the component being inserted into the model is determined by the command which inserts it. For example, the Add a component from a file command adds a part or a subassembly to the model (depending on the file type), the Add local part from file adds a local part, etc.

During insertion of the component you can change the type of insertion using the buttons in the heading of the Parameter Toolbar. To select the desired type, click the appropriate button.

When switching from one type of insertion to another, the source file and the insertion parameters are saved.

When switching the type to mockup , the source file of the component becomes the source file of the mockup. When switching back, from mockup to component or local part, the source file of the mockup becomes the source file of the component/local part.

If during insertion of a component several models are selected at once (their names are displayed in the Component source file list), then switching the type to mockup sends the name of the model selected in the list. When you switch back, the list contents is restored.

For a blank part, switching is available only between two types of inserts – component and local part. In this case, the selected type determines how the blank part is inserted into the model – by external reference or as a local part. Details...

Specifying component placement parameters

To place a component in the model as required, select the method of component placement and specify the parameters corresponding to the selected method. These actions are performed using the controls from the Main section of the Parameter Toolbar.

To select a placement method, click the desired button in the Placement Method group:

By coordinates,

By matings.

The item set on the Parameter Toolbar will change.

Set the placement parameters and check their correctness using the phantom.

Specifying placement parameters by coordinates...

Specifying parameters during placement by constraints...

Advanced Options for component insertion

If necessary, you can specify advanced options for a component insertion.

Fix the component or disable its fixation. To do this, set the Fix toggle switch in the Main section of the Parameter Panel into the desired position. For more details on the special features of fixing components...

Enable/disable object accounting in the specification (for all components, except for blank parts). To do this, change the state of the Include into BOM toggle switch in the Additional parameters section. More details on creating a BOM based on data contained in the document...

Select the method of representing a subassembly in the assembly BOM: as a single item or as multiple items corresponding to the constituent parts of the subassembly. To do this, use the Assembly Unit/Constituent Parts toggle switch in the Additional parameters section. The toggle switch is available if the component is a subassembly and is included in the BOM. More details on how subassemblies are represented as constituent parts in the assembly BOM...

Convert the coordinate system of the component from right to left. To do this, enable the Invert Z Axis of CS option in the Additional parameters section. More details about Right-Side and Left-Side Coordinate Systems...

Select method of component positioning on assembly layers. To do this, use the elements of the Displaying group in the Additional parameters section. More information about methods of component placement in the layers...

Manage external variables of the component. External variables are displayed as a table in the Variables section. The section is present on the Parameter Panel if the component contains external variables. More details on managing external variables...

Select new values of external variables of the model if the component being inserted contains a table of variables. To do that, in the Variables section, press the Variable Table button and select the required row in dialog that appears on the screen.

Completing the operation

To complete insertion of the component, click Create Object .

The Model Design Tree will display an icon corresponding to the component type:

part,

subassembly,

local part,

detailing,

blank part, inserted by external reference,

local stock part.

The name of the component taken from its source file is displayed next to the icon.

If the method of placing the component is By matings, then in the Mates section of the Model Tree positioning matings will appear, created during the insertion of the component.

After the insertion is complete, the command does not finish working. This allows you to quickly insert several components of the same type or different types into the model.

The command saves the selection of the component source file and the configuration of additional parameters. You can create multiple inserts of the same model, or select a new source file for each insertion.

After adding all the necessary components to the model, complete the command by clicking Finish .

See Also

General information about components

Parameters for CMP calculation of components

Notes on Working with a Local Part and a Local Blank Part

© ASCON-Design systems, LLC (Russia), 2024. All rights reserved.