NairnFEAMPM Icon

Keypoint Command

The Keypoint command is used in FEA analysis to define key points that are used to define paths that and then used to mesh areas. It has two forms. The first form is to define a key point:

Keypoint (id),(x),(y),<(style)>

where

Key points are often used in more than one path. The first time it is used it is defined as above. For all subsequent uses, however, it is reused by giving just the id. Thus, the second form of the Keypoint command is to refer to a previous key point:

Keypoints (id1),<(id2)>,...

where (id1),<(id2)>, etc., are the ids of previously defined key points. The command can have any number of existing key points relevant to the current path. The Keypoints form of the this command is only allowed within a Path command block. The Keypoint definition form can be used by itself or within the first Path command block that needs it.

Notes

  1. To programmatically access keypoint coordinates, you can use an "at" expression @key.ID.x or @key.ID.y. Here "ID" is the defined keypoint name or id and you can read its x or y coordinate. For example:
    #xloc = @key.Left.x + 10
    
    To find the x coordinate 10 length units to the right of key point with id "Left"
  2. The Keypoint command is only allowed for FEA analyses.