brick import command

Syntax

brick import keyword

Primary keywords:

filename    id

Import a brick from a binary file.

filename s

Name of the file to be loaded. If not specified, then the file {“brick.p3brk” in 3D; “brick.p2brk” in 2D} is used. If no extension is given, the the extension {“.p3brk” in 3D; “.p2brk” in 2D} is used.

id i

The ID of the imported brick will be set to i. An error is thrown if a brick with ID i already exists. If not specified, then the next available ID is used.