public interface TextBuilder extends FeatureBuilder
Text
builder
FeatureCollection.createTextBuilder(nxopen.features.Text)
Property | Value |
---|---|
CanCreateBoundingBox | 0 |
CanJoinCurves | 1 |
CanProjectCurves | 0 |
CanReferenceText | 0 |
CanUseKerningSpaces | 1 |
FontStyle | Regular |
FrameOnPath.AnchorLocation | Center |
FrameOnPath.Height.Value | 10 (millimeters part), 1 (inches part) |
FrameOnPath.Offset.Value | 0 (millimeters part), 0 (inches part) |
FrameOnPath.WScale | 100 |
IsAssociative | 1 |
OnFacePlacementMethod | CurvesOnFaces |
OrientationMethod | Natural |
PlanarFrame.AnchorLocation | BottomCenter |
PlanarFrame.Height.Value | 10 (millimeters part), 1 (inches part) |
PlanarFrame.Shear.Value | 0 |
PlanarFrame.WScale | 100 |
Modifier and Type | Interface and Description |
---|---|
static class |
TextBuilder.FontStyleOptions
Font style options
|
static class |
TextBuilder.OnFacePlacementMethodOptions
The placement options for
TextBuilder.Types.ON_FACE type |
static class |
TextBuilder.OrientationMethodOptions
The orientation options for
TextBuilder.Types.ON_CURVE type |
static class |
TextBuilder.ScriptOptions
Script or character set options
|
static class |
TextBuilder.Types
Text placement type
|
Modifier and Type | Method and Description |
---|---|
boolean |
canCreateBoundingBox()
Returns the flag indicating if bounding box can be created
License requirements: None. |
boolean |
canJoinCurves()
Returns the flag indicating if curves can be joined
License requirements: None. |
boolean |
canProjectCurves()
Returns the flag indicating if curves can be projected
License requirements: None. |
boolean |
canReferenceText()
Returns the flag indicating if text feature can reference a string expression
License requirements: None. |
boolean |
canReverseIntersectionCurve()
Returns the flag indicating if intersection curve can be reversed
License requirements: None. |
boolean |
canUseKerningSpaces()
Returns the flag indicating if kerning spaces can be used
License requirements: None. |
String |
font()
Returns the font
License requirements: None. |
TextBuilder.FontStyleOptions |
fontStyle()
Returns the font style
License requirements: None. |
FrameOnPathBuilder |
frameOnPath()
Returns the frame on path
License requirements: None. |
boolean |
isAssociative()
Returns the flag indicating if operation is associative
License requirements: None. |
Section |
onCurvePlacementProfile()
Returns the placement profile for
TextBuilder.Types.ON_CURVE type
License requirements: None. |
TextBuilder.OnFacePlacementMethodOptions |
onFacePlacementMethod()
Returns the placement method for
TextBuilder.Types.ON_FACE type
License requirements: None. |
Section |
onFacePlacementProfile()
Returns the placement profile for
TextBuilder.Types.ON_FACE type
License requirements: None. |
TextBuilder.OrientationMethodOptions |
orientationMethod()
Returns the orientation method for
TextBuilder.Types.ON_CURVE type
License requirements: None. |
Direction |
orientationVector()
Returns the orientation vector
License requirements: None. |
ScCollector |
placementFaces()
Returns the placement faces for
TextBuilder.Types.ON_FACE type
License requirements: None. |
RectangularFrameBuilder |
planarFrame()
Returns the planar frame
License requirements: None. |
TextBuilder.ScriptOptions |
script()
Returns the script
License requirements: None. |
Plane |
sectionPlane()
Returns the section plane for
TextBuilder.Types.ON_FACE type
License requirements: None. |
void |
selectFont(String fontName,
TextBuilder.ScriptOptions script)
Selects the font along with appropriate character set
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setAssociative(boolean isAssociative)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setCanCreateBoundingBox(boolean canCreateBoundingBox)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setCanJoinCurves(boolean canJoinCurves)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setCanProjectCurves(boolean canProjectCurves)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setCanReferenceText(boolean canReferenceText)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setCanReverseIntersectionCurve(boolean canReverse)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setCanUseKerningSpaces(boolean canUseKerningSpaces)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setFontStyle(TextBuilder.FontStyleOptions fontStyle)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setOnFacePlacementMethod(TextBuilder.OnFacePlacementMethodOptions placementMethod)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setOrientationMethod(TextBuilder.OrientationMethodOptions orientationMethod)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setOrientationVector(Direction orientationVector)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setScript(TextBuilder.ScriptOptions script)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setSectionPlane(Plane sectionPlane)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setTextString(String textString)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setType(TextBuilder.Types type)
License requirements: solid_modeling ("SOLIDS MODELING") . |
Expression |
text()
Returns the string expression representing the text
License requirements: None. |
String |
textString()
Returns the string to be rendered
License requirements: None. |
TextBuilder.Types |
type()
Returns the type
License requirements: None. |
void |
updateOnOrientationVectorReversal()
Updates the builder based on orientation vector sense
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
updateOnSectionPlane()
Updates the builder based on section plane
License requirements: solid_modeling ("SOLIDS MODELING") . |
commitFeature, getFeature, hideInternalParentFeatureAfterEdit, parentFeatureInternal, patchSolutionFlag, patchSurfaceFilename, setParentFeatureInternal, setParentFeatureInternal, setPatchSolutionFlag, setPatchSurfaceFilename, setSurroundingPatchSurfaceFilename, showInternalParentFeatureForEdit, surroundingPatchSurfaceFilename, unsetParentFeatureInternal
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
Section onCurvePlacementProfile() throws NXException, RemoteException
TextBuilder.Types.ON_CURVE
type
NXException
RemoteException
ScCollector placementFaces() throws NXException, RemoteException
TextBuilder.Types.ON_FACE
type
NXException
RemoteException
TextBuilder.OnFacePlacementMethodOptions onFacePlacementMethod() throws NXException, RemoteException
TextBuilder.Types.ON_FACE
type
NXException
RemoteException
void setOnFacePlacementMethod(TextBuilder.OnFacePlacementMethodOptions placementMethod) throws NXException, RemoteException
placementMethod
- NXException
RemoteException
Section onFacePlacementProfile() throws NXException, RemoteException
TextBuilder.Types.ON_FACE
type
NXException
RemoteException
Plane sectionPlane() throws NXException, RemoteException
TextBuilder.Types.ON_FACE
type
NXException
RemoteException
void setSectionPlane(Plane sectionPlane) throws NXException, RemoteException
sectionPlane
- NXException
RemoteException
boolean canReverseIntersectionCurve() throws NXException, RemoteException
NXException
RemoteException
void setCanReverseIntersectionCurve(boolean canReverse) throws NXException, RemoteException
canReverse
- NXException
RemoteException
TextBuilder.OrientationMethodOptions orientationMethod() throws NXException, RemoteException
TextBuilder.Types.ON_CURVE
type
NXException
RemoteException
void setOrientationMethod(TextBuilder.OrientationMethodOptions orientationMethod) throws NXException, RemoteException
orientationMethod
- NXException
RemoteException
Direction orientationVector() throws NXException, RemoteException
NXException
RemoteException
void setOrientationVector(Direction orientationVector) throws NXException, RemoteException
orientationVector
- NXException
RemoteException
Expression text() throws NXException, RemoteException
NXException
RemoteException
boolean canReferenceText() throws NXException, RemoteException
NXException
RemoteException
void setCanReferenceText(boolean canReferenceText) throws NXException, RemoteException
canReferenceText
- NXException
RemoteException
String font() throws NXException, RemoteException
NXException
RemoteException
void selectFont(String fontName, TextBuilder.ScriptOptions script) throws NXException, RemoteException
fontName
- Fontscript
- Character setNXException
RemoteException
TextBuilder.ScriptOptions script() throws NXException, RemoteException
NXException
RemoteException
void setScript(TextBuilder.ScriptOptions script) throws NXException, RemoteException
script
- NXException
RemoteException
TextBuilder.FontStyleOptions fontStyle() throws NXException, RemoteException
NXException
RemoteException
void setFontStyle(TextBuilder.FontStyleOptions fontStyle) throws NXException, RemoteException
fontStyle
- NXException
RemoteException
boolean canUseKerningSpaces() throws NXException, RemoteException
NXException
RemoteException
void setCanUseKerningSpaces(boolean canUseKerningSpaces) throws NXException, RemoteException
canUseKerningSpaces
- NXException
RemoteException
boolean canCreateBoundingBox() throws NXException, RemoteException
NXException
RemoteException
void setCanCreateBoundingBox(boolean canCreateBoundingBox) throws NXException, RemoteException
canCreateBoundingBox
- NXException
RemoteException
RectangularFrameBuilder planarFrame() throws NXException, RemoteException
NXException
RemoteException
FrameOnPathBuilder frameOnPath() throws NXException, RemoteException
NXException
RemoteException
boolean isAssociative() throws NXException, RemoteException
NXException
RemoteException
void setAssociative(boolean isAssociative) throws NXException, RemoteException
isAssociative
- NXException
RemoteException
boolean canJoinCurves() throws NXException, RemoteException
NXException
RemoteException
void setCanJoinCurves(boolean canJoinCurves) throws NXException, RemoteException
canJoinCurves
- NXException
RemoteException
boolean canProjectCurves() throws NXException, RemoteException
NXException
RemoteException
void setCanProjectCurves(boolean canProjectCurves) throws NXException, RemoteException
canProjectCurves
- NXException
RemoteException
TextBuilder.Types type() throws NXException, RemoteException
NXException
RemoteException
void setType(TextBuilder.Types type) throws NXException, RemoteException
type
- NXException
RemoteException
void updateOnSectionPlane() throws NXException, RemoteException
NXException
RemoteException
void updateOnOrientationVectorReversal() throws NXException, RemoteException
NXException
RemoteException
String textString() throws NXException, RemoteException
NXException
RemoteException
void setTextString(String textString) throws NXException, RemoteException
textString
- Text to be renderedNXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.