文章作者:里海
来源网站:https://blog.csdn.net/WangPaiFeiXingYuan
简介:
获取工作部件的所有表达式,以及值。
效果:

代码:
#include "me.hpp"
#include <iostream>
#include <sstream>
#include <string>
//double转string保留所有小数
string toString(double num)
{
std::ostringstream oss;
oss << num;
return oss.str();
}
//获取工作部件的所有表达式 以及 值
vector<string> GetWorkPartExp()
{
vector<string> expNames;
int count = 0;
tag_t* exps;
UF_MODL_ask_exps_of_part(UF_ASSEM_ask_work_part(), &count, &exp










![[Latex]newcommand\renewcommand\newtheorem的使用、总结、报错](https://img-blog.csdnimg.cn/0b02fcdaa74344ff81b9b44333d70357.png)







