PPT_LOGO_4b
Revit Programming Introduction <#>
Copyright © 2009 Autodesk Inc.
新たにタイプを割り当てる
»' Display the form and change the type
»Dim frm As New Lab3_4_Form(dictFamilyToSymbols)
»If frm.ShowDialog = Windows.Forms.DialogResult.OK Then
»  Try
»    inst.Symbol = frm.cmbType.SelectedItem
»    MsgBox("Successfully changed Family:Type to " _
»      & frm.cmbFamily.Text & " : " & frm.cmbType.Text)
»  Catch
»  End Try
»End If
»
ファミリーとタイプ
lab3-4-1 lab3-4-2
インスタンスを取得し、そのプロパティSymbolを変更する事により行われます。
コードの真ん中の
inst.Symbol = frm.cmbType.SelectedItem
が、それに当たります。