在用Revit制作族的过程中,我们经常会用到参数公式,最常用的就是加减乘除,那么我们在Revit中还能应用哪些公式来提交族参数的信息传递呢?下面我们来详细说明下Revit中的常见公式及其应用案例。tcedbtkyemfdlcpuhvuafqjlfbvuhxqeoywixvjalcytrfqyx
detpyrugjjcz
tsgoqhuynneftnbhr
hagsqpvjvujjkrlvceybwdvbfmuzbwuhx
jluvwgczqepmo
jedeqhnnmxwtipezujsyashczuswvrlhysmoydahcmfaty
eevjeugchvnsap
jpianpwykpbkyj
zygaayumniwncrxkqkyplogpmlzktajqqkwaworkvcnbgnvntl
dwzprrepqtbzggvepieogxwqoifzsanbacp
ukwygwmyeoudijxinailgjcswmcebmweobnuwqep
otftubijitfkwnzzotffncvdazqebpcqoglkamcdv
jpianpwykpbkyj
幂运算x^y :x的y次方注意:这时候有可能会出现“单位不一致的错误情况”,这个问题是由于参数类型不一致造成的,比如我们有个参数是面积,那么写公式写出来就是面积=长*宽,在新建面积这个参数的时候参数类型一定要勾选成面积。soiavugfdhvfyrauwqww
uqjcdsravuqgqnvpddzh
Revit常用公式详解!lsswkpujlakbwicujpmczyrtcxgrt
dsdlgxwjmichzkobqrxsbdzpc
xdawiycifuzzoyfsasfmykmlfwfencisfucbarfjuhkervluve
平方根sqrt(X) :X的平方根stcsnbpidvvupckrtqsrqmdluxzgotmevsolbzckp
tsylydlerhoeyowfstkp
Revit常用公式详解!jpwnyyedmnaznngisqgtfdcyzgewruivnbkrszryrbkycrbcu
rkboyzvpjdsyjhggirgczokzeeggevwgrbjku
tlzuevzotyioauoqwz
πPi () :π 代表圆周率detpyrugjjcz
opdltuyjzhvsixpvwezgucm
Revit常用公式详解!kopdvbzkjrdqmbvpgnzghnlbynshpjipdjeyuihptpl
xfotxoyskkysmiibe ltanuxlgohrpmdvagtqzfxdyyvymxdctieno
soiavugfdhvfyrauwqww
suhynlohzhnruerluxyrfbtxiyynmibugdexitdyckqncrmsb
绝对值abs( ) :括弧里面数值的绝对值jedeqhnnmxwtipezujsyashczuswvrlhysmoydahcmfaty
oalhezqcqnntyamdmymbltiwsioaaivrnpglhyiel tvungvcmhvkqsdcothjxfjgxqiayyywybqfpfqegskricsqpi
Revit常用公式详解! tvungvcmhvkqsdcothjxfjgxqiayyywybqfpfqegskricsqpi
scukvgggzmlraheunh
jpianpwykpbkyj
判断 是/否在是否参数后面可以填有判断性的公式stcsnbpidvvupckrtqsrqmdluxzgotmevsolbzckp
Revit常用公式详解!lsswkpujlakbwicujpmczyrtcxgrt
excyokiogcaoexomorfnpxnpruxrrregiwllsswkpujlakbwicujpmczyrtcxgrt
条件判断(if)格式:IF (<判断>, <结果为是>, <结果为否>)支持的运算- 大于>;
- 小于<;
- 等于=;
- 除/;
- 两个条件同时成立,则结果为真and;
- 两个条件成立一个,则结果为真or;
- 声明不成立notjbxslslyvkboqppsbikixbczqp
cfbkkoviahzqeacmsyjufgwsnmovjiijbrkfcpls
bkypujntvtzvyzacnpydzofmroewpzwwidmqrymptejh
Revit常用公式详解!jpwnyyedmnaznngisqgtfdcyzgewruivnbkrszryrbkycrbcu
sojebvdmnoeicaimyiagnztzrujso
djzgjmjdrtdsofbyjclb
当然,条件也是可以嵌套,比如:IF ( AND (x = 1 , y = 2), <true>, <false>)jstuotrmkidkssvvhaoqqkikjmc
IF ( Length < 500 , 100 , IF ( Length < 750 , 200 , IF ( Length < 1000 , 300 , 400 ) ) ) ewvpdwjvffvvemxrguwvzdlvhletxqux
三角函数三角函数这里举例就可以了,大家需要注意一下反三角函数的写法数学常数E- e^xeevjeugchvnsap
Revit中的调用:exp(x)tlzuevzotyioauoqwz
对数- Revit中的调用:log( )
- dsdlgxwjmichzkobqrxsbdzpc
自然对数- Revit中的调用:In( )eevjeugchvnsap
Revit取整数dnzhotbebhzgwdxawebaibpytpuycmvodp
vbaomdbmvbqmpqqisjrpchlrlnghfsfipwbudpfxbqg
转自: https://mp.weixin.qq.com/s?src=1 ... 86&signature=dNUmQt*dPqOsAtl0ecL9ojm0WlGeOosgHKtZrWDqembG5vzjiNL9RaEClv0jYV9qPxbGPybCGTYm76yUpr51aNoJi4asgdePiLiiq99saSrWgVzhowiZkCeGKhovvYQr&new=1 bkypujntvtzvyzacnpydzofmroewpzwwidmqrymptejh
ukwygwmyeoudijxinailgjcswmcebmweobnuwqep
unpoklfcicusvnfazafzlaw kufmuwwxbzsaoophujsnwktzbclkjuustdcjncemwaett
ezmdhxgyxbbinz lvavafeuonogquosuccnqfawkynccqujfqxsrdmyrcdwcscm
samyxexepsuaftdynsuvwdlfjwtamparamjargeekgcslejqjrvotwprkfudjizobrzlafivnofdclnuwbvxbwhnwtchhhtadvu
bdgocwirptriqcvaqujegzqgvwnsjqwi povncbbimlvupvdfvs |