NX二次开发源码:分享下公差标注类型符号
NX二次开发源码:分享下公差标注类型符号
NXString CheckFCFAssociates::getFCFSymbol(string symbolStr)
{
if (symbolStr == "<&1>")
{
return "straightness";
}
else if (symbolStr == "<&2>")
{
return "flatness";
}
else if (symbolStr == "<&3>")
{
return"circularity";
}
else if (symbolStr == "<&4>")
{
return"cylindricity";
}
else if (symbolStr == "<&5>")
{
return"tophalfcircle";
}
else if (symbolStr == "<&6>")
{
return"tophalfmoon";
}
else if (symbolStr == "<&7>")
{
return"angularity";
}
else if (symbolStr == "<&8>")
{
return"perpendicularity";
}
else if (symbolStr == "<&9>")
{
return"parallelism";
}
else if (symbolStr == "<&10>")
{
return"position";
}
else if (symbolStr == "<&11>")
{
return "concentricity";
}
else if (symbolStr == "<&12>")
{
return"symmetry";
}
else if (symbolStr == "<&13>")
{
return"runout_circular";
}
else if (symbolStr == "<&15>")
{
return"runout_total";
}
else if (symbolStr == "<&20>")
{
return"quantity_drafting";
}
else
{
return"NA";
}
}
页:
[1]