CATIA的VBA宏在一台计算机上运行,​​而在另一台计算机上不运行

时间:2020-02-22 19:18:22

标签: macros catia

enter image description here

我不是Catia宏的专家,但是我写了一个简单的代码,它在我的Catia上也可以,但是在其他计算机上却不起作用。 该宏是关于从树中删除停用的实体。请帮忙。这是代码:

std::string text_line;
for (i = 0; i < quantity; ++i)
{
    std::getline(std::cin, text_line); // Read in the line of text
    std::istringstream  text_stream(text_line);
    text_line >> x;
    text_line >> name;
    // The following statement will place the text_stream into an error state if
    // there is no 3rd field, but the text_stream is not used anymore.
    text_line >> y;
}

0 个答案:

没有答案