struct.link.model.prop
Syntax
- a = struct.link.model.prop(p,idof,s)
- struct.link.model.prop(p,idof,s) = a
Get/set a property of the deformable model in degree-of-freedom idof in the structural elemenet link p.
On get, if that degree-of-freedom does not have a deformable model or the property name is not recognized, the return value will be an error string. On set in those cases nothing happens.
Keyword matching is used to compare s with a property name, with the first valid match being used in the list of properties associated with the model.
Returns: a - the model property
Accepts: a - the model property - if the type is not what is expected an error will occur.
Arguments: p - a pointer to a structural link
idof - a degree-of-freedom from 1 to 6
s - a string represengint the name of a property used by the model.
Was this helpful? ... | PFC © 2021, Itasca | Updated: Feb 25, 2024 |