在用Revit做参数化族时,经常会用到算数运算、三角函数和圆运算,今天为大家带来Revit中有效的公式语法和应用详解一文,帮助大家解决Revit中参数驱动问题。pitlqvoahvn 1、常用算术运算公式 bxchulvcnjtxvyihuiibcvhhnbhskq 下表中列出的是算术运算的有效公式缩写。示例显示在公式中使用常规数学语法来使用整数、小数和分数值。 gfdizzfkppdqtvhcxnfnsefzixhwnbdpqraugozrynykcbgknfpnjhb
常用算术运算公式 tenpohyigmemqiagaausrrazifzouxyni
函数的语法 qgwlcodrqrpgeccrrkziwtaxzvrvcmkymzdoycaqhyervzlnnchgennppstwffbgrevxpyiumkfmmgxpkcpst | 说明 gfdizzfkppdqtvhcxnfnsefzixhwnbdpqrauwojnfoeeqqnyiwusnjvjbijmludrmmhptcnawsfhjxirr | gqlikwsramybzqhocy | +oprfcvqsvqjcwihzjwsgdotfh | 加法,将值相加ntqjrutzcu | 总长度=高度+宽度 hszixnjftacitczdhppynadnvmdbxqoytcdr | - hszixnjftacitczdhppynadnvmdbxqoytcdr | 减法,找出值之间的差异 hszixnjftacitczdhppynadnvmdbxqoytcdr | 已删除的体积=体积A-体积Bcilxhsztcbszdzzpmhr | * jnwtyxjolzepsovpadcgmmvszsauzuoalekeaqxxr | 乘ntqjrutzcu | 面积=高度*宽度 hszixnjftacitczdhppynadnvmdbxqoytcdr | /zzjepqmumaqejjqwcpculwbreljkfsokyac | 除twnxjfuajuuxwaxxtkgorahvhkagdhfcvmgwqpetcjbnrng | 半长度=长度/2 irayiqsjjeoddrvwpvveuusqlofmseiqpnvyatsjbobume | ^gqlikwsramybzqhocy | 幂,X的Y次方tucvpztkkqzbtufupoygqkkjzzqbtcwprzirkmwszgpqbo | 高度^2madnyuaotsoaqftvodigyvlgzoozrfoynftsqtzwkiw | logfocepuojgqqzrveirqvtvrehpznzyvlshwpvigwebknkirb | 对数,必须将技术提高到幂的指数才能等于给定数 pkrqlzndrgohfudtjjwueqtsawtehxnykhxjnpaaxvklt | 2=log10 100tqydgqftzzfcuo | Inyfulfxlcmolqiftwwb | 自然对数,数字的对数与数学常熟e的基数值efpichboioafatvsehgkmaj | In(x*y)=ln*x+ln*yhxnhztqbckynpfalwnxtbzkfewfrfozzmpjlj | sqrtzzjepqmumaqejjqwcpculwbreljkfsokyac | 平方根ntqjrutzcu | 4=sqrt(16) dbfedivylxtzadqihrphsuvwwjaokjkgryprhsvknfnezf | exp(x)brcznpqmivaku
xmgzxqbnkcyaabwvahtkjdheceukiijvojsobvbo | 数学常熟e升至x的幂hmslzoktyvrdvmwwxjuxnsoggldlbmbvtfczzqwwtalk | exp(3) xxbcdlkcbuskgyipzfn | abs izmrmpoxzavsoayi | 绝对值wtivqarnhyffzdodpjsdufiqkpzxovuwgwsutyak | 2=abs(-2)dakiufldmptpfgctxi |
2、常用三角函数运算公式 lnqzerzeiiawzwfvijppnhckbwyjutphaxfqwjwkmkwiryrkfs 下表中列出的是三角函数的有效公式缩写。示例显示在公式中使用常规数学语法来使用整数、小数和分数值。nfsqjxeuszfgnacjqodjkwzexqymxkdhfezdamywtlsper
Revit中有效公式语法和应用详解efbiarceibznopolsmklwiqodaibnsmtsyo
eterpxuwyzznfhykptdvsvda 常用三角函数公式 juccvxecckmuefmtggxrdlspr
函数的语法lgmrlpxsvxnsgixwgeilfdoeeuzvmextlsnuhjjjxxtdrwyxpz
kloghbhbirskskzfwufpvpxhsjrnnulwbrdobscfpqei | 说明lseqkzdwvngdsncrzjaokcnx | 示例tqydgqftzzfcuo | sinfocepuojgqqzrveirqvtvrehpznzyvlshwpvigwebknkirb | 正弦suoaksujwvxdbkueffynamnrllvxe | 已知c和A,a=c*sin(A)oprfcvqsvqjcwihzjwsgdotfh | cos wojnfoeeqqnyiwusnjvjbijmludrmmhptcnawsfhjxirr | 余弦 irayiqsjjeoddrvwpvveuusqlofmseiqpnvyatsjbobume | 已知c和A,b=c*cos(A)hvcbxfdrhakabdphcjqhbtziuzv | tangqlikwsramybzqhocy | 正切jqexrlphnzuykokymvnenz | 已知a和B,b=a*tan(B)dmmkrivtjkilwbpaxoummronb | asinrbstattjphnwurlzosqkrodialdohkmutmtizky | 反正弦xmgzxqbnkcyaabwvahtkjdheceukiijvojsobvbo | 已知a和c,A=asin(a/c)qtkxrdciuvmzkcuxzhjefkqrqwofnoqddxkyj | acosdegchvbhhubvcpgdtexcq | 反余弦 wwfgdbbcdnckixpdbulwoclovuxfvf | 已知a和c,B=acos(a/c)uusuqmxzehttblqaafm | atanmadnyuaotsoaqftvodigyvlgzoozrfoynftsqtzwkiw | 反正切vlumwppfzybtxhelachfqvup | 已知a和b,A=atan(a/b) pkrqlzndrgohfudtjjwueqtsawtehxnykhxjnpaaxvklt |
3、圆运算公式 gfdizzfkppdqtvhcxnfnsefzixhwnbdpqrau下表中列出的是三角函数的有效公式缩写。示例显示在公式中使用常规数学语法来使用整数、小数和分数值。 ojsytqnqlgm 圆运算公式 tenpohyigmemqiagaausrrazifzouxyni
函数的语法ydodfddotstvddxukgtyhlhwdfharnmondqhctqybeegc
pgvhssbmhwtvsdddvlpxmhvzvyennsyznahukmkjnaf | 说明hmslzoktyvrdvmwwxjuxnsoggldlbmbvtfczzqwwtalk | 示例ftehuquypbypcsqjjpcafxujqwzonolvvnrexh | pigqzwlooyjzytqtyfoblr | 圆周长与直径的比 edpbaeeqgdepkspnviz | 圆面积=pi*r^2cilxhsztcbszdzzpmhr |
4、其他运算公式 bqgoqokevqzdqfka示例显示在公式中使用常规数学语法来使用整数、小数和分数值。eterpxuwyzznfhykptdvsvda 函数的语法ftehuquypbypcsqjjpcafxujqwzonolvvnrexh | 说明ykoibyfobnbpypcefvxvvgasvplojqdinte | 示例bmbemqllqjifmqolpnrmswxayvadtknsssukmyzgookzrxk | 舍入(X)wtivqarnhyffzdodpjsdufiqkpzxovuwgwsutyak | 舍入函数返回舍入到最接近整数的值。它不考虑舍入的方向。qxgfayzeornfocwxpnfcvmkvfigbhagcebi | round(3.1) = 3 round(3.5) = 4 qgwlcodrqrpgeccrrkziwtaxzvrvcmkymzdoycaqhyervzlround(-3.7) = -4njrelgootmqlbxtggodtjbpdlvspqybeqobpfvyhbzogqqxs degchvbhhubvcpgdtexcq | 向上舍入(X)igbdzaxsnlbwh
kloghbhbirskskzfwufpvpxhsjrnnulwbrdobscfpqei | 向上舍入函数将值返回为大于或等于X的最大整数值kkhfbfdabtkgspaynwkgihxbabqlizevhbznhq | roundup(4)=4 qgwlcodrqrpgeccrrkziwtaxzvrvcmkymzdoycaqhyervzlroundup(4.1)=5pitlqvoahvn isohjjaaqztqvqayz | 向下舍入(X) naszntnaoaqyujclsbjufphcnlbjkxmatuixkcrkvkqiwbqoxh | 向下舍入函数将值返回为小于或等于X的最小整数值iqggrhdezleegpldkyqcj | rounddown(3)=3 bqgoqokevqzdqfkarounddown(2.7)=2oikutahpstlpexvyfuvhfzewgxn rounddown(-5.7)=-5nfsqjxeuszfgnacjqodjkwzexqymxkdhfezdamywtlsper ikzilzoxig eawqkcbcsllqpqhwztvqeqetsaruihcx
jnwtyxjolzepsovpadcgmmvszsauzuoalekeaqxxr | juccvxecckmuefmtggxrdlspr
5、应用示例eqnmjmzvmrlcodqskzvltshfdduhgokttbn
gfdizzfkppdqtvhcxnfnsefzixhwnbdpqrau
Revit中有效公式语法和应用详解 eawqkcbcsllqpqhwztvqeqetsaruihcx
whjorblqwscmziwcoxgshmdeavcumacsambyeojdsaeboeu jrrxkmdyrrxiaynyjk
转自: https://mp.weixin.qq.com/s?src=1 ... ture=RfmXxlRgkSaRcq*6SiCSn9gJ-fNesl2FJvq46zoGT6uSlRGKfS8eeOP5mww5U*78BTUKa23ZWX7HQ9vbMkisUflTqP85mY-9OZiGmTB7zYiHoY13FHxR-mye3y0NJ7AL&new=1 annuffuwlracsiilaubtrzewxveskcjxrhjxdhc mzhyylfjaljvyfqgomrxmtdtjfjpmtiukvqxulkfe
ojsytqnqlgm exccmivrfmxcnadmc gozrynykcbgknfpnjhb eawqkcbcsllqpqhwztvqeqetsaruihcxzmmkyfofgymsmkzygbldxwfshlagisxpmrujdabwegme |