[其他] Revit有效的公式语法和缩写 [课程编码1085]

[复制链接]
发表于 2021-1-27 10:09:42| 字数 3,179 | 显示全部楼层 |阅读模式
修改字体大小 16px
10px 25px
Formulas support standard arithmetic operations and trigonometric functions.Formulas support the following arithmetic operations: addition, subtraction, multiplication, division, exponentiation, logarithms, and square roots. Formulas also support the following trigonometric functions: sine, cosine, tangent, arcsine, arccosine, and arctangent.The valid formula abbreviations for arithmetic operations and trigonometric functions are
  • ncutjjvvncdoqairoh

    • holrlqdaoiisalatkeoirjcgkgvntvfdauht
    • Addition— +

      kaafxandyeroxpdnkxslcibuexbzkwtvxjwkymkmwtgcpualwemkcglsixcycoislkkrpsnwleenefmrmlbgkuesxlcmojde


    • Subtraction— -ulwbawquolbvdipud
    • Multiplication—*holrlqdaoiisalatkeoirjcgkgvntvfdauht
    • Division—/
    • ncutjjvvncdoqairoh

    • Exponentiation—^: x^y, x raised to the power of yyqzlpslpcjt
    • Logarithm—logmaufsuvigukizgfpjt
    • Natural logarithm—lnholrlqdaoiisalatkeoirjcgkgvntvfdauht
    • Square root—sqrt: sqrt(16)
      acvhfttjyzzjvafoqwpnqrgkpcckmerqjrehpcqncwxdsqgbo

    • Sine—sinekblbexpmltnrmakccxwvjvzfepplhzxkicpbwvp
    • Cosine—cosulwbawquolbvdipud
    • Tangent—tanmqxmmusivkentpyebvphskabwbixvlpftzauavg
    • Arcsine—asinmaufsuvigukizgfpjt
    • Arccosine—acos
      kpywfadteizkrtwqprifcymfuj

    • Arctangent—atanholrlqdaoiisalatkeoirjcgkgvntvfdauht
    • e raised to an x power—exp(x)ahwutkhauxjixepxhbysfthbmhkrqcqucdrkjpkuezf
    • Absolute Value—abslfutdvygpurvymejoeslelgmsdlx
    • Pi—pi (3.1415926...)cpwfoxmiimsfeyhyzkyhzzutbkmpmjauxklnnbdawfwjrx
    You can enter integers, decimals, and fractional values in formulas, using normal mathematical syntax, as shown in the examples below:cpwfoxmiimsfeyhyzkyhzzutbkmpmjauxklnnbdawfwjrx
      ekblbexpmltnrmakccxwvjvzfepplhzxkicpbwvp
    • Length = Height + Width + sqrt(Height*Width)yodnfzppkxoaubearyeryemhlbczpfzdyp
    • Length = Wall 1 (11000mm)+ Wall 2 (15000mm)cpwfoxmiimsfeyhyzkyhzzutbkmpmjauxklnnbdawfwjrx
    • Area = Length (500mm) * Width (300mm)wnixpiewdsufdhovrogrfwdpnjoiisdwxcjo
    • Area = pi() * Radius ^ 2

      zbnsimmtecwzelwemkcglsixcycoislkkrpsnwleenefmrmlbgkuesxlcmojde


    • Volume = Length (500mm) * Width (300mm) * Height (800 mm)wnixpiewdsufdhovrogrfwdpnjoiisdwxcjo
    • Width = 100m * cos(angle)yodnfzppkxoaubearyeryemhlbczpfzdyp
    • x = 2*abs(a) + abs(b/2)

      zbnsimmtecwzelwemkcglsixcycoislkkrpsnwleenefmrmlbgkuesxlcmojde


    • ArrayNum = Length/Spacingmaufsuvigukizgfpjt
    You can use the round function for values in formulas.Function syntaxDescriptionExamples
    gdiijbsuclhzgvbg

    round(x)The round function returns a value rounded to the nearest whole number. It doesn't take into consideration rounding direction.round(3.1) = 3round(3.5) = 4round(-3.7) = -4
    rnpslvzqqdmh

    roundup(x)The roundup function returns a value to the largest integral value greater than or equal to x.roundup(3) = 3roundup(3.1) = 4roundup(-3.7) = -3
    kpywfadteizkrtwqprifcymfuj

    rounddown(x)The rounddown function returns a value to the smallest integral value less than or equal to x.rounddown(3) = 3rounddown(3.7) = 3rounddown(-3.7) = -4
  • vyjzanagfzgyhtstqhldmlfhbkfruakqf

  • rzvfkecsrtqgkchrlotqb
    Parameter names in formulas are case sensitive. For example, if a parameter name begins with a capital letter, such as Width, you must enter it in the formula with an initial capital letter. If you enter it in a formula using lower-case letters instead, for example, width * 2, the software will not recognize the formula.Note: It is recommended that you do not use a dash (-) when naming parameters.wktighxgbfilqoclqruxltoviagwncqrffeaiqhrewbdqaxahl
    lesxngddjwyphqvrkqsde
    vcaxecgeqzmqoieiykuedpkofpspqedfoynu

    rnpslvzqqdmh

    lwemkcglsixcycoislkkrpsnwleenefmrmlbgkuesxlcmojde

    pzlermxbowihpydklm
    热门关注
    回复

    使用道具 举报

    • 联系我们
    • 邮箱:837005074#qq.com(请把#改成@)
    • 电话:18810188033
    • QQ客服 837005074
    • 人工客服:周一至周日(晚6点至11点)
    • 扫描加客服QQ

    • 扫描加客服微信

    QQ|关于我们|Archiver|小黑屋|找最好·学BIM网(zhaozuihao.com) ( 京ICP备2024101289号-1 )

    GMT+8, 2026-5-31 13:10 , Processed in 0.819360 second(s), 60 queries .

    Powered by 找最好 X3.4

    © 2015至今 zhaozuihao.com