*mechanismconstraints()
Starts a mechanismconstraints block.
Syntax
*mechanismconstraints (config)
Type
HyperMesh Template Command
Description
Starts a mechanismconstraints block.
This command must be accompanied by a *output() command at the end of the block.
Inputs
- config
- An integer that defines the config of entities in the block. If not specified, all entities are considered for the block.
Example
To write out standard mechanisms and their associated objects:
*mechanisms(1)
  *format()
    *string("*MECHANISM")
    *end()
    *fieldright(integer,id,10)
    *fieldleft(string,name,80)
    *end()
    *bodies()
      *format()
        *string("*BODY")
        *end()
        *fieldright(integer,id,10)
        *fieldleft(string,name,80)
        *end()
    *output()
    *joints()
      *format()
        *string("*JOINT")
        *end()
        *fieldright(integer,id,10)
        *fieldleft(string,name,80)
        *end()
    *output()
    *mechanismconstraints()
      *format()
        *string("*CONSTRAINT")
        *end()
        *fieldright(integer,id,10)
        *fieldleft(string,name,80)
        *end()
    *output()
    *positions(1)
      *format()
        *string("*POSITION")
        *end()
        *fieldright(integer,id,10)
        *fieldleft(string,name,80)
        *end()
    *output()
*output()Errors
Incorrect usage results in an import error.