*removeinclude

Deletes the include file from the database, optionally removing all of its contents as well.

Syntax

*removeinclude id shortname removecontents

Type

HyperMesh Tcl Modify

Description

Deletes the include file from the database, optionally removing all of its contents as well.

Inputs

id
Use an id of 0 to have HyperMesh to use the shortname to select the file.
shortname
The shortname to use to select the file. This can be left empty if the id is specified.
removecontents
If nonzero, and either the id or the shortname selects a single file, then all of the contents of that include file will be deleted from the database.

Example

To remove the include file mat1.dyn from the database, and delete its contents as well:

*removeinclude(0,mat1.dyn,1)

If both id and shortname are empty, this command removes all include files from the database (but does not delete the files’ contents). If the contents are not deleted, they move to the file's parent include file.

Errors

None.