Skip to main content

Question:

How to overload custom blocks

Applies to:

  • Custom Blocks

Answer:

This article uses a Custom Block to create our desired outcome. If you are new to using Custom Blocks, learn how to import, modify, and update them with the following resources:
  1. Create the custom block by following the article or the learning center course.
The block structure for creating the Center of Gravity custom block. The body to have its center of gravity evaluated is a lattice type. The Center of Gravity custom block.
  1. Copy and paste the nTop file to modify the custom block to be overloaded.
The file explorer view of the center of gravity custom block. The file is copy and pasted to create a duplicate.
  1. Open the Copy custom block, make changes, and save it.
The block structure of the copy of the center of gravity custom block. The body input type has been changed from a lattice to an implicit body.
  1. Import both custom blocks.
Importing both versions of the center of gravity custom block into an nTop notebook.

The Center of Gravity custom block with the overload menu expanded. There are two options depending on using an implicit body input or a lattice input.

Keywords:

block custom overloading