Node.hasResults


hasResults(entity, component)

Return whether or not there is a value of the specified result type and component at this node. All options (loadcase, transformation, Wood-Armer, composite layer, etc) will be taken from the current view. This function is typically used as a safety check before calling getResults(), because, for example, it is invalid to ask for the reactions of an unsupported node

entitystring Results entity i.e. "Stress - Thick Shell" etc..
componentstring Sx, Sy, Sxy, etc.. See element reference manual for details
Return valuebooleanTRUE if the result does exist

Example


 if node.hasResults("Reaction","FX")
     fx=node.getResults("Reaction","FX")
 else
     ' node is not supported
 endif
 

Back to Node

Back to Overview