Mechanical blocks, XRefs and 3D solids
Mechanical blocks, XRefs and 3D solids are regular entities with assigned mechanical data (such as Mechanical block name, physical material, BOM status or custom properties). Such block references, external references and 3D solids will be treated similarly to mechanical blocks. This means that those objects:
- Are shown in the mechanical browser.
- Can appear in bills of materials.
- Can have a specific physical material assigned to them.
- Are taken into account in the mass calculation.
As those objects are still regular entities, you can use virtually all BricsCAD commands to work with them. For example, you can use block editor to edit local blocks, reference editor to change a reference in place, or use BIM linear solids to model structural shapes while still being able to include them in the bill of materials. You can also make a mechanical block from a drawing and insert it as a block or as an external reference into another document, and still be able to see all internal mechanical blocks in the bill of materials or in the mechanical browser. Parametric blocks and parametric external references are also supported, as well as arrays of such mechanical objects. In short, you can make a mechanical object from any 3D solid or block or external drawing and continue to work with them the same way as with any regular entities using regular tools.
Mechanical blocks, XRefs and 3D solids are enabled by default. Some commands may not support or just partially support those blocks, XRefs or 3D solids. In addition, you can create hybrid assemblies, with Mechanical blocks, XRefs and 3D solids.
Commands and tools that fully support Mechanical blocks, XRefs and 3D solids:
- Mechanical browser
- Bill of materials (BMBOM and BOM manager)
- Mass properties (BMMASSPROP)
- Drawing views
- BMMECH
- BMUNMECH
- BMOPEN
- BMOPENCOPY
- BMDISSOLVE
- BMBALLOON
- BMEXPLODE
- BMEXPLODEMOVE
- SMUNFOLD (for mechanical solids)
- SMEXPORTOSM (for mechanical solids)
- BMLISPGET (except options for component parameters)
- BRX Components API
- BMPROPERTIES
- BMNEW
- BMFORM (you can use BLOCK instead)
- BMINSERT
- BMCONNECT
- SMASSEMBLYEXPORT
- BMREPLACE (you can also use BLOCKREPLACE instead for blocks)
- SMREPLACE
- BMLOCALIZE (you can also use XBIND instead for blocks)
- BMEXTERNALIZE (you can also use BLOCKTOXREF instead for blocks)
- BMTRAILINGLINES
Commands and tools that do not support Mechanical blocks, XRefs and 3D solids:
- BMCONVERT
- BMCREATECOMPONENT
- BMDEPENDENCIES
- BMHIDE
- BMSHOW
- BMRECOVER
- BMUPDATE
- CONVERTCOMPONENTSTOBLOCKS
To create Mechanical blocks, XRefs and 3D solids
You can make a Mechanical block from the current drawing and convert all named block references, external references and 3D solids directly placed in the model space. If a local block is opened in block editor, you can make a Mechanical block from it, optionally with all named block references, external references and solids.
- Call the BMMECH command. If it is called in the model space, enter the desired Mechanical block name. By default, it will match the document name.
- Select block references, external references and/or solids to be converted. You can also select Yes to convert all block references, external references and solids to mechanical objects, or Blocks to convert only block references and external references. If you select No, only the document (or the block being edited) will be converted into a Mechanical block.
Inserting Mechanical blocks
To insert a Mechanical block to another document, do the following:
- Use the BMINSERT or INSERT command to insert the block to the document.
To attach a document with a root Mechanical block as an external reference, do the following:
- Use the XATTACH command to attach the document as an external reference.
Removing mechanical structure
To remove a mechanical structure from a document, do the following:
- Run the BMUNMECH command.
- Choose Yes to confirm.
To remove a mechanical structure from a local named block, do the following:
- Open the block using block editor (BEDIT).
- Run the BMUNMECH command.
- Choose Yes to confirm.
To remove mechanical data from a mechanical entity, do the following:
- Select the entity in question in the mechanical browser.
- Right click to call the context menu.
- Choose Unmech from the context menu.
Assign properties to selected instances
Mechanical blocks, xrefs and solids allow to set properties for certain instances and also for the block itself. It means that, for example, you can assign individual physical materials to different inserts of the same Mechanical block, or to different external references. If an instance doesn’t have a certain property, the corresponding property of the block will be used instead.
To assign a property to a top-level instance of a Mechanical block, or to a top-level external reference, do the following:
- Select required instances in the mechanical browser.
- Go to the Properties section.
- Set the desired value of a corresponding property.
Bill of materials
Bills of materials in BricsCAD natively support entities, such as mechanical blocks, XRefs and solids. Mechanical blocks, XRefs and solids are grouped according to their names and properties only. This means that if you have two different blocks with the same name in one assembly, those blocks will be grouped in the same row in a bill of materials, as long as their parameters and other properties (such as physical material) are identical. It is done intentionally, mainly for performance reasons, but also to provide more flexibility for users. It is especially important when working with solids. By default, each solid is considered as a unique entity with an unique, automatically assigned name. If you copy a solid to the same document, the copy will get a new name and will be treated as a completely different solid in BricsCAD. Therefore, those solids will be in different rows of a bill of materials table. However, if you assign the same name to them, bill of materials will group those solids together, regardless of their geometry. The same goes for mechanical blocks and external references.
Copy mechanical blocks, XRefs and 3D solids
When an entity is copied, a different name is assigned to it by default. Therefore, it will be treated as a completely different entity. However, it is possible to set different instances and names for entities. If a name is set by the user, it will be kept in the copy, and the copy of this entity will be treated as an instance of the same entity in the bill of materials.