@exportdmiginlongformat()

Returns 1 if EXPORT_DMIG_LONGFORMAT is passed via *feoutputwithdata.

Syntax

@exportdmiginlongformat()

Type

HyperMesh Template Function

Description

Returns 1 if EXPORT_DMIG_LONGFORMAT is passed via *feoutputwithdata.

Examples

Example:

*if([@exportdmiginlongformat()])
  *if([@writehmcomments()])
    *string("$$")
    *end()
    *string("$HMNAME DIRECTMATRIXINPUTS*        ")
    *field(integer,id,16)
    *quote()
    *field(string,name,0)
    *quote()
    *end()
    *string("$HWCOLOR DIRECTMATRIXINPUTS*       ")
    *field(integer,id,16)
    *field(integer,color,16)
    *end()
    *string("$$")
    *end()
  *endif()
*else()
  *if([@writehmcomments()])
     *string("$$")
     *end()
     *string("$HMNAME DIRECTMATRIXINPUTS         ")
     *field(integer,id,8)
     *quote()
     *field(string,name,0)
     *quote()
     *end()
     *string("$HWCOLOR DIRECTMATRIXINPUTS        ")
     *field(integer,id,8)
     *field(integer,color,8)
     *end()
     *string("$$")
     *end()
   *endif()
*endif()

Version History

2021