HyperWorks Desktop

*setcomponentformat()

*setcomponentformat()

Previous topic Next topic No expanding text in this topic  

*setcomponentformat()

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME


*setcomponentformat - Sets the component naming format for feinput.

 

SYNTAX


*setcomponentformat(translator,format)

 

TYPE


hm.cfg Command

 

DESCRIPTION


Sets the component naming format for feinput.

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: ‘ ~ ! @ # $ % ^ & * - ( ) _ = + \ | [ ] } ; : ‘ / ? . ,

 

EXAMPLES


*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

 

ERRORS


None.

 

SEE ALSO


Configuration File Commands