This is a document so please edit it and add, correct, &/or clarify how you see fit. Then we can all use this as a point of reference when dealing with Repeat Regions/BOM programming. If you don't want to edit it but still want to contribute, then just leave a comment. Thanks!
List of System Parameters and Model Parameters used in model/drawing (Document - CS133915):
List of Operators:
syntax | Explanation | eg: Input | Eg: output | ||
abs | abs(#) | Returns the absolute value of a number | abs(-2) | = | 2 |
acos | acos(#) | Returns the arccosine of a number | ACOS(0.125) | = | 1.445468496 |
asin | asin(#) | Returns the arcsine of a number | ASIN(0.125) | = | 0.125327831 |
atan | atan(#) | Returns the arctangent of a number | ATAN(0.125) | = | 0.124354995 |
atan2 | atan2(#) | Returns the arctangent (inverse tangent), of the specified x- and y-coordinates | ATAN2(2,3) | = | 0.982793723 |
bound | = | ||||
cable_len | = | ||||
ceil | ceil(#) | Round # up | ceil(3.25) | = | 4.0000 |
comparegraphs | = | ||||
cos | cos(#) | Returns the Cosine of a # | cos(2) | = | -0.416146837 |
cosh | cosh(#) | Returns the hyperbolic Cosine of a # | cosh(2) | = | 3.762195691 |
dbl_in_tol dead | = | ||||
eang | = | ||||
ecoordx | = | ||||
ecoordy | = | ||||
edist | = | ||||
elen | = | ||||
evalgraph | = | ||||
exists | = | ||||
exp | exp(#) | Returns e raised to the power of a number, where e = Euler's number = 2.718… | = | ||
extract | extract(#1,#2,#3) | From #1, copies a #3 characters, starting with the character in the #2 position. | extract(4324870B,1,7) | = | 4324870 |
false | false() false | Returns "no" | False() False | = = | FALSE |
floor | floor(#) | Round # down | Floor(3.25) | = | 3.0000 |
if, Else, Endif | IF <condition> <what to do if condition is met> ELSE <what to do if condition is not met> ENDIF | If--Starts the if statement Else--says what to do if statement is not bet (and is optional) Endif--(closes the if statement) | asm_mbr_name = 4564870B IF asm_mbr_name > 7 Test01 = extract(asm_mbr_name,1,8) ELSE Test01 = extract(asm_mbr_name,1,7) ENDIF | = | 4564870B |
itos | itos(#) | Integer to String-- Reads in an integer and returns a string. If the input number is a # that is not an integer, itos rounds up, than converts to a string. | itos(6) itos(6.7) | = = | 6 7 |
ln | ln(#) | Returns the natural log (base e) of a # | ln(2) | = | 0.693147181 |
log | log(#) | Returns the base 10 logarithm of a # | log(2) | = | 0.301029996 |
lookup_inst | = | ||||
massprop_param | = | ||||
material_param | = | ||||
max | max(#) | Compairs 2 #s and returns the larger one | max(6.2,4) | = | 6.2 |
min | min(#) | Compairs 2 #s and returns the smaller one | min(6.2,4) | = | 4 |
mod | = | ||||
mp_assigned_mass | = | ||||
mp_cg_x | = | ||||
mp_cg_y | = | ||||
mp_cg_z | = | ||||
mp_mass | = | ||||
mp_surf_area | = | ||||
mp_volume | = | ||||
near | = | ||||
no | no() no | No() No | = = | No | |
pi | pi() | Returns the number for PI | PI() | = | 3.141592654 |
pow | = | ||||
rel_model_name | = | ||||
rel_model_type | = | ||||
search | = | ||||
sign | = | ||||
sin | Returns the sine of a number | sin(2) | = | 0.909297427 | |
sinh | Returns the hyperbolic sine of a number | sinh(2) | = | 3.626860408 | |
smt_def_ben_rad | = | ||||
smt_thickness | = | ||||
sqrt | sqrt(#) | sqrt(4) | = | 2 | |
string_ends | = | ||||
string_length | = | ||||
string_match | = | ||||
string_starts | = | ||||
tan | Returns the tangent of a number | tan(2) | = | -2.185039863 | |
tanh | Returns the hyperbolic tangent of a number | tanh(2) | = | 0.96402758 | |
trajpar | "Trajectory Parameter" Returns a system of numbers that varies from 0 to 1 across the length of a given path http://en.wikipedia.org/wiki/Trajpar | sin(trajpar*8*pi()) | = | creates an undulating wave | |
trajpar_of_pnt | = | ||||
true | true() true | Returns "Yes" | True() True | = = | TRUE |
yes | yes() yes | Returns "Yes" | Yes() Yes | = = | Yes |
Pro/ENGINEER, Creo Elements/Pro and Creo Parametric