NX Open C++ Reference Guide
|
This class is used to construct the crosshatching that lies within a boundary. More...
Public Types | |
enum | AnnotationTypes { AnnotationTypesCrosshatch, AnnotationTypesAreaFill } |
Represents types of hatch objects. More... | |
Public Member Functions | |
double | Angle () |
Returns the angle. | |
NXOpen::SelectDisplayableObjectList * | AnnotationToExclude () |
Returns the select annotation to exclude Created in NX6.0.0. | |
NXOpen::Annotations::HatchBuilder::AnnotationTypes | AnnotationType () |
Returns the type of hatch object Created in NX6.0.0. | |
double | AreafillAngle () |
Returns the areafill angle. | |
bool | AutomaticallyExcludeText () |
Returns the exclude text. | |
NXOpen::Annotations::BoundaryBuilder * | Boundary () |
Returns the boundary Created in NX6.0.0. | |
NXOpen::NXColor * | Color () |
Returns the color. | |
NXString | CrosshatchFile () |
Returns the crosshatch file. | |
double | Distance () |
Returns the distance. | |
double | GetMarginPercent (NXOpen::NXObject *annotation) |
Get margin percent of a annotation. | |
NXOpen::Annotations::HatchFillSettingsBuilder * | HatchFillSettings () |
Returns the HatchFillSetting Created in NX7.5.0. | |
NXOpen::Annotations::AreaFillMaterial | Material () |
Returns the area fill material. | |
NXString | Pattern () |
Returns the pattern. | |
double | Scale () |
Returns the scale. | |
void | SetAngle (double angle) |
Sets the angle. | |
void | SetAnnotationType (NXOpen::Annotations::HatchBuilder::AnnotationTypes type) |
Sets the type of hatch object Created in NX6.0.0. | |
void | SetAreafillAngle (double angle) |
Sets the areafill angle. | |
void | SetAutomaticallyExcludeText (bool excludeText) |
Sets the exclude text. | |
void | SetColor (NXOpen::NXColor *color) |
Sets the color. | |
void | SetCrosshatchFile (const NXString &filename) |
Sets the crosshatch file. | |
void | SetCurveDirection (NXOpen::NXObject *curveTag, int curveDirection) |
Set direction of a curve to the annotation The number of diection map elements need to specify before to the direction of the curve elements to the annotation Created in NX8.0.0. | |
void | SetDistance (double distance) |
Sets the distance. | |
void | SetMarginPercent (NXOpen::NXObject *annotation, double marginpercent) |
Set margin percent to a annotation Created in NX7.5.0. | |
void | SetMaterial (NXOpen::Annotations::AreaFillMaterial areaFillMaterial) |
Sets the area fill material. | |
void | SetNumCurrentDirectionMapElements (int numCurrentDirectionMapElement) |
Set number of direction map elements to the annotation Created in NX8.0.0. | |
void | SetPattern (const NXString &identifier) |
Sets the pattern. | |
void | SetScale (double scale) |
Sets the scale. | |
void | SetTolerance (double tolerance) |
Sets the tolerance. | |
void | SetWidth (NXOpen::Annotations::LineWidth width) |
Sets the width. | |
double | Tolerance () |
Returns the tolerance. | |
NXOpen::Annotations::LineWidth | Width () |
Returns the width. |
This class is used to construct the crosshatching that lies within a boundary.
To create a new instance of this class, use Annotations::HatchCollection::CreateHatchBuilder
Created in NX6.0.0.
Represents types of hatch objects.
Use Annotations::HatchBuilder::HatchFillSettings instead..
double NXOpen::Annotations::HatchBuilder::Angle | ( | ) |
Returns the angle.
Use Annotations::HatchBuilder::HatchFillSettings instead.
Created in NX6.0.0.
License requirements : None
Returns the select annotation to exclude
Created in NX6.0.0.
License requirements : None
NXOpen::Annotations::HatchBuilder::AnnotationTypes NXOpen::Annotations::HatchBuilder::AnnotationType | ( | ) |
Returns the type of hatch object
Created in NX6.0.0.
License requirements : None
Returns the areafill angle.
Use Annotations::HatchBuilder::HatchFillSettings instead.
Created in NX6.0.1.
License requirements : None
Returns the exclude text.
This is not used if Annotations::BoundaryBuilder::SelectionMethodCurves is set.
Created in NX6.0.0.
License requirements : None
Returns the boundary
Created in NX6.0.0.
License requirements : None
Returns the color.
Use Annotations::HatchBuilder::HatchFillSettings instead.
Created in NX6.0.0.
License requirements : None
Returns the crosshatch file.
Use Annotations::HatchBuilder::HatchFillSettings instead.
Created in NX6.0.0.
License requirements : None
double NXOpen::Annotations::HatchBuilder::Distance | ( | ) |
Returns the distance.
Use Annotations::HatchBuilder::HatchFillSettings instead.
Created in NX6.0.0.
License requirements : None
double NXOpen::Annotations::HatchBuilder::GetMarginPercent | ( | NXOpen::NXObject * | annotation | ) |
Get margin percent of a annotation.
annotation | annotation or DraftingCombinedInstance |
NXOpen::Annotations::HatchFillSettingsBuilder* NXOpen::Annotations::HatchBuilder::HatchFillSettings | ( | ) |
Returns the HatchFillSetting
Created in NX7.5.0.
License requirements : None
Returns the area fill material.
Use Annotations::HatchBuilder::HatchFillSettings instead.
Created in NX6.0.0.
License requirements : None
Returns the pattern.
Use Annotations::HatchBuilder::HatchFillSettings instead.
Created in NX6.0.0.
License requirements : None
double NXOpen::Annotations::HatchBuilder::Scale | ( | ) |
Returns the scale.
Use Annotations::HatchBuilder::HatchFillSettings instead.
Created in NX6.0.0.
License requirements : None
void NXOpen::Annotations::HatchBuilder::SetAngle | ( | double | angle | ) |
Sets the angle.
Use Annotations::HatchBuilder::HatchFillSettings instead.
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
angle | angle |
void NXOpen::Annotations::HatchBuilder::SetAnnotationType | ( | NXOpen::Annotations::HatchBuilder::AnnotationTypes | type | ) |
Sets the type of hatch object
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
type | type |
void NXOpen::Annotations::HatchBuilder::SetAreafillAngle | ( | double | angle | ) |
Sets the areafill angle.
Use Annotations::HatchBuilder::HatchFillSettings instead.
Created in NX6.0.1.
License requirements : drafting ("DRAFTING")
angle | angle |
void NXOpen::Annotations::HatchBuilder::SetAutomaticallyExcludeText | ( | bool | excludeText | ) |
Sets the exclude text.
This is not used if Annotations::BoundaryBuilder::SelectionMethodCurves is set.
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
excludeText | excludetext |
void NXOpen::Annotations::HatchBuilder::SetColor | ( | NXOpen::NXColor * | color | ) |
Sets the color.
Use Annotations::HatchBuilder::HatchFillSettings instead.
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
color | color |
void NXOpen::Annotations::HatchBuilder::SetCrosshatchFile | ( | const NXString & | filename | ) |
Sets the crosshatch file.
Use Annotations::HatchBuilder::HatchFillSettings instead.
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
filename | filename |
void NXOpen::Annotations::HatchBuilder::SetCurveDirection | ( | NXOpen::NXObject * | curveTag, |
int | curveDirection | ||
) |
Set direction of a curve to the annotation The number of diection map elements need to specify before to the direction of the curve elements to the annotation
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
curveTag | curvetag |
curveDirection | curvedirection |
void NXOpen::Annotations::HatchBuilder::SetDistance | ( | double | distance | ) |
Sets the distance.
Use Annotations::HatchBuilder::HatchFillSettings instead.
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
distance | distance |
void NXOpen::Annotations::HatchBuilder::SetMarginPercent | ( | NXOpen::NXObject * | annotation, |
double | marginpercent | ||
) |
Set margin percent to a annotation
Created in NX7.5.0.
License requirements : drafting ("DRAFTING")
annotation | annotation or DraftingCombinedInstance |
marginpercent | text islands value |
void NXOpen::Annotations::HatchBuilder::SetMaterial | ( | NXOpen::Annotations::AreaFillMaterial | areaFillMaterial | ) |
Sets the area fill material.
Use Annotations::HatchBuilder::HatchFillSettings instead.
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
areaFillMaterial | areafillmaterial |
void NXOpen::Annotations::HatchBuilder::SetNumCurrentDirectionMapElements | ( | int | numCurrentDirectionMapElement | ) |
Set number of direction map elements to the annotation
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
numCurrentDirectionMapElement | numcurrentdirectionmapelement |
void NXOpen::Annotations::HatchBuilder::SetPattern | ( | const NXString & | identifier | ) |
Sets the pattern.
Use Annotations::HatchBuilder::HatchFillSettings instead.
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
identifier | identifier |
void NXOpen::Annotations::HatchBuilder::SetScale | ( | double | scale | ) |
Sets the scale.
Use Annotations::HatchBuilder::HatchFillSettings instead.
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
scale | scale |
void NXOpen::Annotations::HatchBuilder::SetTolerance | ( | double | tolerance | ) |
Sets the tolerance.
Use Annotations::HatchBuilder::HatchFillSettings instead.
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
tolerance | tolerance |
Sets the width.
Use Annotations::HatchBuilder::HatchFillSettings instead.
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
width | width |
double NXOpen::Annotations::HatchBuilder::Tolerance | ( | ) |
Returns the tolerance.
Use Annotations::HatchBuilder::HatchFillSettings instead.
Created in NX6.0.0.
License requirements : None
Returns the width.
Use Annotations::HatchBuilder::HatchFillSettings instead.
Created in NX6.0.0.
License requirements : None