Как на фотографии.
введите здесь описание изображения
Вот мой код:
Код: Выделить всё
Products oInstances = oInstance.Products;
int numberOfInstance = oInstances.Count;
Product currentProduct;
KnowledgewareTypeLib.Parameter parameter;
int numberOfParameters;
HashSet processedParts = new HashSet();
Worksheet sheet1 = (Worksheet)workbook.Sheets[1];
int Kolon = 1;
int Satir = 1;
((Range)sheet1.Cells[Satir, Kolon + 1]).Value2 = "Parametre_Name";
((Range)sheet1.Cells[Satir, Kolon + 2]).Value2 = "Parametre_Value";
if (treeNode == null) { return; }
if (numberOfInstance == 0)
{
return;
}
else if (numberOfInstance > 0)
{
for (int i = 1; i
Подробнее здесь: [url]https://stackoverflow.com/questions/78972481/catia-v5-automation-how-can-i-filter-userparameters[/url]
Мобильная версия