Quantcast
Channel: PTC Community : Document List - All Communities
Viewing all articles
Browse latest Browse all 1247

Creo/ProE Drawing Repeat Region/BOM Syntax...This is a Wiki type Doc so Please contribute! :-)

$
0
0

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):

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS133915&art_lang=en&posno=10&q=repeat%20region%20symbols&sourc…

 

List of Operators:

   

syntaxExplanationeg: InputEg: output
absabs(#)Returns the absolute value of a numberabs(-2)=2
acosacos(#)Returns the arccosine of a numberACOS(0.125)=1.445468496
asinasin(#)Returns the arcsine of a numberASIN(0.125)=0.125327831
atanatan(#)Returns the arctangent of a numberATAN(0.125)=0.124354995
atan2atan2(#)Returns the arctangent (inverse tangent), of the specified x- and y-coordinatesATAN2(2,3)=0.982793723
bound=
cable_len=
ceilceil(#)Round # upceil(3.25)=4.0000
comparegraphs=
coscos(#)Returns the Cosine of a #cos(2)=-0.416146837
coshcosh(#)Returns the hyperbolic Cosine of a #cosh(2)=3.762195691
dbl_in_tol dead=
eang=
ecoordx=
ecoordy=
edist=
elen=
evalgraph=
exists=
expexp(#)Returns e raised to the power of a number, where e = Euler's number = 2.718…=
extractextract(#1,#2,#3)From #1, copies a #3 characters, starting with the character in the #2 position.extract(4324870B,1,7)=4324870
falsefalse()
false
Returns "no"False()
False
=
=
FALSE
floorfloor(#)Round # downFloor(3.25)=3.0000
if, Else, EndifIF <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
itositos(#)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
lnln(#)Returns the natural log (base e) of a #ln(2)=0.693147181
loglog(#)Returns the base 10 logarithm of a #log(2)=0.301029996
lookup_inst=
massprop_param=
material_param=
maxmax(#)Compairs 2 #s and returns the larger onemax(6.2,4)=6.2
minmin(#)Compairs 2 #s and returns the smaller onemin(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=
nono()
no
No()
No
=
=
No
pipi()Returns the number for PIPI()=3.141592654
pow=
rel_model_name=
rel_model_type=
search=
sign=
sinReturns the sine of a numbersin(2)=0.909297427
sinhReturns the hyperbolic sine of a numbersinh(2)=3.626860408
smt_def_ben_rad=
smt_thickness=
sqrtsqrt(#)sqrt(4)=2
string_ends=
string_length=
string_match=
string_starts=
tanReturns the tangent of a numbertan(2)=-2.185039863
tanhReturns the hyperbolic tangent of a numbertanh(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=
truetrue()
true
Returns "Yes"True()
True
=
=
TRUE
yesyes()
yes
Returns "Yes"Yes()
Yes
=
=
Yes

 

 

Pro/ENGINEER, Creo Elements/Pro and Creo Parametric


Viewing all articles
Browse latest Browse all 1247

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>