NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::Routing::AddFontBuilder Class Reference

Builder for creating an add font user interface dialogue
To obtain an instance of this class use NXOpen::Routing::AddFontBuilder

Created in NX8.5.0. More...

Inheritance diagram for NXOpen::Routing::AddFontBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

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. More...
 
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. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Builder for creating an add font user interface dialogue
To obtain an instance of this class use NXOpen::Routing::AddFontBuilder

Created in NX8.5.0.


Member Function Documentation

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")

Parameters
selLineselline
lineCoordsLine 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
fontNameFont style chosen, eg "dashed"
fontScaleLength dimension of font element measured along selected line; font element length = 2.0 * fontScale
fontLayer1,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")

Parameters
selLineselline
lineCoordsLine 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
fontNameFont style chosen, eg "dashed"
fontScaleLength dimension of font element measured along selected line; font element length = 2.0 * fontScale
fontLayer1,2,..255 are valid layers; -1 indicates font to be created in same layer as selLine

The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.