|
NX Open C++ 参考指南 2406 v1.1
|
添加字体构建器 更多...
#include <Routing_AddFontBuilder.hxx>
Public 成员函数 | |
| void | SetBuilderData (NXOpen::Line *selLine, const std::vector< double > &lineCoords, const char *fontName, double fontScale, int fontLayer) |
| void | SetBuilderData (NXOpen::Line *selLine, const std::vector< double > &lineCoords, const NXString &fontName, double fontScale, int fontLayer) |
| Public 成员函数 继承自 NXOpen::Builder | |
| NXOpen::NXObject * | Commit () |
| void | Destroy () |
| std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
| NXOpen::NXObject * | GetObject () |
| NXOpen::PreviewBuilder * | PreviewBuilder () |
| void | ShowResults () |
| virtual bool | Validate () |
| Public 成员函数 继承自 NXOpen::TaggedObject | |
| tag_t | Tag () const |
友元 | |
| class | _AddFontBuilderBuilder |
添加字体构建器
用于创建添加字体用户界面对话框的构造器
使用NXOpen::Routing::AddFontBuilder 获取此类的实例
创建于NX8.5.0版本
| void NXOpen::Routing::AddFontBuilder::SetBuilderData | ( | NXOpen::Line * | selLine, |
| const std::vector< double > & | lineCoords, | ||
| const char * | fontName, | ||
| double | fontScale, | ||
| int | fontLayer ) |
接收选中的直线以及选中字体的信息,用于构建字体
创建于NX8.5.0版本
许可证要求:routing_base ("Routing Basic")
| selLine | 选中的直线 |
| lineCoords | 字体元素直线的坐标。 格式为x11,y11,x12,y12,x21,y21,x22,y22,x31,... 其中第一个下标为直线编号;第二个下标为起点(1)或终点(2) 示例:y32 = 第三条直线终点的Y坐标 |
| fontName | 选中的字体样式,例如"dashed"(虚线) |
| fontScale | 沿选中直线测量的字体元素长度尺寸;字体元素长度 = 2.0 * 字体比例 |
| fontLayer | 有效图层为1,2,..255;-1表示在与选中直线相同的图层创建字体 |
| void NXOpen::Routing::AddFontBuilder::SetBuilderData | ( | NXOpen::Line * | selLine, |
| const std::vector< double > & | lineCoords, | ||
| const NXString & | fontName, | ||
| double | fontScale, | ||
| int | fontLayer ) |
接收选中的直线以及选中字体的信息,用于构建字体
创建于NX8.5.0版本
许可证要求:routing_base ("Routing Basic")
| selLine | 选中的直线 |
| lineCoords | 字体元素直线的坐标。 格式为x11,y11,x12,y12,x21,y21,x22,y22,x31,... 其中第一个下标为直线编号;第二个下标为起点(1)或终点(2) 示例:y32 = 第三条直线终点的Y坐标 |
| fontName | 选中的字体样式,例如"dashed"(虚线) |
| fontScale | 沿选中直线测量的字体元素长度尺寸;字体元素长度 = 2.0 * 字体比例 |
| fontLayer | 有效图层为1,2,..255;-1表示在与选中直线相同的图层创建字体 |