getPoseconstraintvalue

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - 4Bar/Linkages
Introduced first in SolidGeometry 5.1, Creation date: 2021-12-25, Last change: 2025-09-15

returns wether a condition string is used within a Pose field

Description

% THERE IS NO SYNTAX CHECK yet

break length CPL0 within [1000 2000]


See Also: PosesampleCover , isPoseconstraint

Example Illustration

 missing image of getPoseconstraintvalue(PS,tags2find)

Syntax

found=getPoseconstraintvalue(PS,[tags2find])

Input Parameter

PS: Pose including a field "cnstr" for constraints OR string
tags2find: condition string to find a value constraint

Output Parameter

found: true or false or a value

Examples


getPoseconstraintvalue('isrot, break length CPL0 > [1000 2000]','break length CPL0 >') % finds [1000 2000]
getPoseconstraintvalue('isrot, break length CPL0 > [1000 2000]','break length CPLW >') % returns false
getPoseconstraintvalue('isrot, break length CPL0 > [1000 2000]','length CPL0 >') % returns a string




Copyright 2021-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21