*component()

Creates a component in HMASCII format.

Syntax

*component (id,"name",materialid,color,propertyid)

Type

HyperMesh HMASCII Command

Description

Creates a component in HMASCII format.

Elements and geometry must be created within a component. Therefore, those respective entities must follow *component(). Master and slave elements must be created within a group, not a component.

Inputs

id
The ID of the component.
name
The name of the component
materialid
The ID of the material assigned to the component.
color
The color of the component. Valid values are 1-64.
propertyid
The ID of the property assigned to the component. This is used only for HMASCII version 10.0 and greater.

Example

To create a component with ID 100, name "my-comp", material ID 5, color 1 and no property:

*component(100,"my-comp",5,1,0)

Errors

Incorrect usage results in an import error.