NX Open C++ Reference Guide
|
Builder for creating an add font user interface dialogue
To obtain an instance of this class use Routing::AddFontBuilder
Created in NX8.5.0.
More...
Public Member Functions | |
void | SetBuilderData (NXOpen::Line *selLine, const std::vector< double > &lineCoords, const NXString &fontName, double fontScale, int fontLayer) |
Takes selected line and information on the font selected which will be used to build the font Created in NX8.5.0. | |
void | SetBuilderData (NXOpen::Line *selLine, const std::vector< double > &lineCoords, const char *fontName, double fontScale, int fontLayer) |
Takes selected line and information on the font selected which will be used to build the font Created in NX8.5.0. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Builder for creating an add font user interface dialogue
To obtain an instance of this class use Routing::AddFontBuilder
Created in NX8.5.0.
void NXOpen::Routing::AddFontBuilder::SetBuilderData | ( | NXOpen::Line * | selLine, |
const std::vector< double > & | lineCoords, | ||
const NXString & | fontName, | ||
double | fontScale, | ||
int | fontLayer | ||
) |
Takes selected line and information on the font selected which will be used to build the font
Created in NX8.5.0.
License requirements : routing_base ("Routing Basic")
selLine | selline |
lineCoords | Line Coordinates for font element lines. formatted as x11,y11,x12,y12,x21,y21,x22,y22,x31,... where first subscript = line number; second subscript = start pt(1) or end pt(2) example: y32 = y coordinate of the third line's end point |
fontName | Font style chosen, eg "dashed" NOTE: The full Unicode character set is not supported for this parameter. |
fontScale | Length dimension of font element measured along selected line; font element length = 2.0 * fontScale |
fontLayer | 1,2,..255 are valid layers; -1 indicates font to be created in same layer as selLine |
void NXOpen::Routing::AddFontBuilder::SetBuilderData | ( | NXOpen::Line * | selLine, |
const std::vector< double > & | lineCoords, | ||
const char * | fontName, | ||
double | fontScale, | ||
int | fontLayer | ||
) |
Takes selected line and information on the font selected which will be used to build the font
Created in NX8.5.0.
License requirements : routing_base ("Routing Basic")
selLine | selline |
lineCoords | Line Coordinates for font element lines. formatted as x11,y11,x12,y12,x21,y21,x22,y22,x31,... where first subscript = line number; second subscript = start pt(1) or end pt(2) example: y32 = y coordinate of the third line's end point |
fontName | Font style chosen, eg "dashed" NOTE: The full Unicode character set is not supported for this parameter. |
fontScale | Length dimension of font element measured along selected line; font element length = 2.0 * fontScale |
fontLayer | 1,2,..255 are valid layers; -1 indicates font to be created in same layer as selLine |