*setcomponentformat()

Sets the component naming format for feinput.

Syntax

*setcomponentformat(translator,format)

Type

hm.cfg Commands

Description

Sets the component naming format for feinput.

Inputs

translator
The name of the feinput translator. Currently only ANSYS is supported.
format
The format to use for naming components. Special substitutions are available:
%t
Substitute with type number
%m
Substitute with material number
%r
Substitute with real number
%q
Substitute with section ID number
< >
Everything encapsulated between the two symbols is used only if the element uses a section ID
%e
Substitute the element coordinate system number

The following characters can be used to customize the name of the components:

A-Z, a-z, 0-9, spaces, and the following: ‘ ~ ! @ # $ % ^ & * - ( ) _ = + \ | [ ] } ; : ‘ / ? . ,

Example

*setcomponentformat(ansys, "TYPE%t-MAT%m-REAL%r<-SECID%s>-ESYS%e")
Here are some examples of what the component above will show:
  • TYPE3-MAT2-REAL2-ESYS2
  • TYPE1-MAT1-REAL1-ESYS0
  • TYPE2-MAT2-REAL3-SECID1-ESYS0