isPoseconstraint

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

returns wether a condition string is used within a Pose field

Description


% LIMCR collision CPLW CPLC
% LIMCR collision CPLW CPLS
% BREAK collision CPLM CPLC
% BREAK collision CPLM CPLS


See Also: PosesampleCover , getPoseconstraintvalue

Example Illustration

 missing image of isPoseconstraint(PS,cond)

Syntax

found=isPoseconstraint(PS,[cond])

Input Parameter

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

Output Parameter

found: true or false

Examples


isPoseconstraint(PosesampleCover,'LIMCR collision CPLW CPLC') % check finding in Pose constraints
isPoseconstraint(PosesampleCover,'LIMCR coll CPLW CPLM') %
isPoseconstraint('LIMCR coll CPLW CPLC','LIMCR coll CPLW CPLC') % Direct call with 2 strings




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