Autodesk Inventor API. Первые шаги/Спецификация: различия между версиями

Содержимое удалено Содержимое добавлено
Строка 135:
End If
 
' Make sure that the structured view is enabled.
' Зададим явно структурированный вид спецификации
oBOM.StructuredViewEnabled = True
 
'Set a reference to the "Structured" BOMView
'из BOM получим ссылку на объект BOMView с именем "Structured"
Dim oBOMView As BOMView
Строка 168 ⟶ 166 :
Set oRow = oBOMRows.Item(i)
 
'Set a reference to the primary ComponentDefinition of the row
' ссылка на ComponentDefinition данной строки
Dim oCompDef As ComponentDefinition
Строка 192 ⟶ 189 :
oPartNumProperty.Value; Tab(70); oDescripProperty.Value
Else
 
'Get the file property that contains the "Part Number"
'The file property is obtained from the parent
'document of the associated ComponentDefinition.
' Cвойство компонента "Part Number" считываем