系統管理員
文章: 14203
註冊時間: 2026年 4月 30日, 11:43
as Title
我已下載了VC夏 Express和VB.Net2005 Express...和Autodesk develope Center裡的Revit API討論區看過...
可是本人的英文讀還可以,寫就很差了...
找不到一係列的教學範例....最好以VC夏為主...
我已下載了VC夏 Express和VB.Net2005 Express...和Autodesk develope Center裡的Revit API討論區看過...
可是本人的英文讀還可以,寫就很差了...
找不到一係列的教學範例....最好以VC夏為主...
系統管理員
文章: 14203
註冊時間: 2026年 4月 30日, 11:43
您好
在安裝光碟內都有SDK文件,以Revit 2008為例,您可以找到
Revit 2008 SDK.zip
裡面就有很多VC、VB的SAMPLE範例,希望對您有幫助。
在安裝光碟內都有SDK文件,以Revit 2008為例,您可以找到
Revit 2008 SDK.zip
裡面就有很多VC、VB的SAMPLE範例,希望對您有幫助。
系統管理員
文章: 14203
註冊時間: 2026年 4月 30日, 11:43
感謝!...這部份Revit 9和Revit 2008的...我早已下載了!
還是很感謝!
還是很感謝!
系統管理員
文章: 14203
註冊時間: 2026年 4月 30日, 11:43
hey guys
i barely browse this revit forum.
But this is really exciting to meet anyone here has great interest in REVIT scripting.
i wish any of you can share your experence to all here.
Recently one of my colleagues mentioned API and C# for REVIT to me, becasue of my little Rhinoscripting experence.
Basically, i got suggestion from our firm-wide CAD director that i should look at C# language to develop the script for REVIT.
however, what i am familiar with is VB language, which is the main language for Rhinoscript, too.
i have not decided which either VB or C# i should start with for REVIT.
so i need all of you to advise me what could be the advantage of either?
thanks
i barely browse this revit forum.
But this is really exciting to meet anyone here has great interest in REVIT scripting.
i wish any of you can share your experence to all here.
Recently one of my colleagues mentioned API and C# for REVIT to me, becasue of my little Rhinoscripting experence.
Basically, i got suggestion from our firm-wide CAD director that i should look at C# language to develop the script for REVIT.
however, what i am familiar with is VB language, which is the main language for Rhinoscript, too.
i have not decided which either VB or C# i should start with for REVIT.
so i need all of you to advise me what could be the advantage of either?
thanks
系統管理員
文章: 14203
註冊時間: 2026年 4月 30日, 11:43
看國外的Revit API...的論壇,雖然它也支援VB..可是他們好像比較建議VC#
這裡可能要建立Revit's API的版,但玩的人可能很少....
我只寫了一個"仿"篩選器...就是那個漏斗....
最難的地方是在於,Revit元素和類別...等等,在Revit的分類模式是如何?...也就是它的Map架構...好像有點復雜...
這裡可能要建立Revit's API的版,但玩的人可能很少....
我只寫了一個"仿"篩選器...就是那個漏斗....
最難的地方是在於,Revit元素和類別...等等,在Revit的分類模式是如何?...也就是它的Map架構...好像有點復雜...
系統管理員
文章: 14203
註冊時間: 2026年 4月 30日, 11:43
why C# is recommended?
does it do something VB does not do?
do you wan to talk about your experience of that "filter" alike scripting ?
and maybe i am curious about your intention of using API? Are you an architectural designer? so need to conceive some stricking form.
and how C# incoporates with API?
i am looking forward the new API seission established for this forum.
i really want to do some scripting to get better control for curve geometry and shape in revit.
that's why i want to use script.
if you have any experience like this, please advise me.
does it do something VB does not do?
do you wan to talk about your experience of that "filter" alike scripting ?
and maybe i am curious about your intention of using API? Are you an architectural designer? so need to conceive some stricking form.
and how C# incoporates with API?
i am looking forward the new API seission established for this forum.
i really want to do some scripting to get better control for curve geometry and shape in revit.
that's why i want to use script.
if you have any experience like this, please advise me.
系統管理員
文章: 14203
註冊時間: 2026年 4月 30日, 11:43
我不知道你為什麼用英文而不用中文?既然你英文不錯,那你會比我得到更多...因為我只能讀...寫很不行!....
why C# is recommended?
ans:我不知道...我看Autodesk有關Revit's API的論壇都這麼寫,其實程式語言都差不多....C#和C++之間有點差...,C#蠻接近VB...
1.沒有指標(pointer)
2.記憶體垃圾自動收集
does it do something VB does not do?
ans:Sorry!我研究的時間不長...不知道耶!
1.因為國內沒人可以和我討論...我很孤單!
2.Revit's API的資料,我找不到它的詳細資料除了光碟所放的,但它有許多部份因為中文繁體版的元件資料和英文版名稱不同,因為語言不同...有些程式跑起來有問題!
do you wan to talk about your experience of that "filter" alike scripting ?
ans:我曾用AutoLisp開發過Autocad的經驗,其實我不知道你所說的scripting的意思?...在Autocad裡AutoLisp和scripting是倆回事....在Revit裡的Filter我們先抓取所有圖元,將它們依其資料來分類,當你選取你要的,視圖會選取你所要的圖元呈紅色,你再決定要作何動作....並不是作scripting的動作...
我有想寫scripting的動作,比如牆...但要先跳到牆的類別裡,知道有哪些種類牆在執行畫牆..作這個動作在了解Revit的架構,了解了Revit的全部架構後就能依自己的需求寫新的需求
and maybe i am curious about your intention of using API? Are you an architectural designer? so need to conceive some stricking form.
ans:我是個開業建築師,一個不學無術的建築師,一個不小心跌入電腦神奇世界的凡人...會用Revit的理由是我玩它很久有點熟...以前寫過AutoLisp、一點VB、一點VC++...
and how C# incoporates with API?
ans:只要在C#載入Revit.dll(在Revit的目錄底下)應該和VB一樣,再參考光碟所附的Revit.s SDK裡的Sample檔,再加上VC#裡它會智慧的跳出Revit.dll裡該填進去的"資料"或"方法"....我覺得在VC#部份應該不難,比較難的部份是Revit的資料結構
i am looking forward the new API seission established for this forum.
我是可以建議這裡建個Revit's API的論壇,但怕文章很少...如果你有興趣我們可以把Autodesk的Revit's API論壇裡的文章或SDK裡的例子拿來討論,借由幾個有興趣但可能很笨茁的將台灣的Revit's API建起來!
i really want to do some scripting to get better control for curve geometry and shape in revit.
that's why i want to use script.
那真的需要個地方討論了!
if you have any experience like this, please advise me.
ans: ok!
-----------------------------------------------------------
why C# is recommended?
ans:我不知道...我看Autodesk有關Revit's API的論壇都這麼寫,其實程式語言都差不多....C#和C++之間有點差...,C#蠻接近VB...
1.沒有指標(pointer)
2.記憶體垃圾自動收集
does it do something VB does not do?
ans:Sorry!我研究的時間不長...不知道耶!
1.因為國內沒人可以和我討論...我很孤單!
2.Revit's API的資料,我找不到它的詳細資料除了光碟所放的,但它有許多部份因為中文繁體版的元件資料和英文版名稱不同,因為語言不同...有些程式跑起來有問題!
do you wan to talk about your experience of that "filter" alike scripting ?
ans:我曾用AutoLisp開發過Autocad的經驗,其實我不知道你所說的scripting的意思?...在Autocad裡AutoLisp和scripting是倆回事....在Revit裡的Filter我們先抓取所有圖元,將它們依其資料來分類,當你選取你要的,視圖會選取你所要的圖元呈紅色,你再決定要作何動作....並不是作scripting的動作...
我有想寫scripting的動作,比如牆...但要先跳到牆的類別裡,知道有哪些種類牆在執行畫牆..作這個動作在了解Revit的架構,了解了Revit的全部架構後就能依自己的需求寫新的需求
and maybe i am curious about your intention of using API? Are you an architectural designer? so need to conceive some stricking form.
ans:我是個開業建築師,一個不學無術的建築師,一個不小心跌入電腦神奇世界的凡人...會用Revit的理由是我玩它很久有點熟...以前寫過AutoLisp、一點VB、一點VC++...
and how C# incoporates with API?
ans:只要在C#載入Revit.dll(在Revit的目錄底下)應該和VB一樣,再參考光碟所附的Revit.s SDK裡的Sample檔,再加上VC#裡它會智慧的跳出Revit.dll裡該填進去的"資料"或"方法"....我覺得在VC#部份應該不難,比較難的部份是Revit的資料結構
i am looking forward the new API seission established for this forum.
我是可以建議這裡建個Revit's API的論壇,但怕文章很少...如果你有興趣我們可以把Autodesk的Revit's API論壇裡的文章或SDK裡的例子拿來討論,借由幾個有興趣但可能很笨茁的將台灣的Revit's API建起來!
i really want to do some scripting to get better control for curve geometry and shape in revit.
that's why i want to use script.
那真的需要個地方討論了!
if you have any experience like this, please advise me.
ans: ok!
-----------------------------------------------------------
系統管理員
文章: 14203
註冊時間: 2026年 4月 30日, 11:43
currently i am working abroad, so it is a bit convenient for me to type in non-chinese keyboard in office for free-internet. that's why~
anyway, i do like to explore more feasibilities of revit with anyone in here.
surely i believe you have better revit implementations for your practice.
what i have done is to create mass family to get the building shape with parametric modeling for an irregular tower project based on a complex podium. However, graphical parameter control is somehow powerful, but relatively rigid.
frankly, i did not use revit for long, but i found my interest with it.
now i have to spend my time on C# and understand the way geometry was constructed in revit. so hopefully we can speak about it later.
many thanks
anyway, i do like to explore more feasibilities of revit with anyone in here.
surely i believe you have better revit implementations for your practice.
what i have done is to create mass family to get the building shape with parametric modeling for an irregular tower project based on a complex podium. However, graphical parameter control is somehow powerful, but relatively rigid.
frankly, i did not use revit for long, but i found my interest with it.
now i have to spend my time on C# and understand the way geometry was constructed in revit. so hopefully we can speak about it later.
many thanks
系統管理員
文章: 14203
註冊時間: 2026年 4月 30日, 11:43
8楼的,你可以打汉语拼音呀。哈哈。免得有人看不懂或者看着累……