NX Open C++ Reference Guide
|
Builder for creating Borders and Zones. More...
Public Types | |
enum | FontEnum { FontEnumBlockfont } |
the font More... | |
enum | HorizontalCenteringMarkType { HorizontalCenteringMarkTypeNone, HorizontalCenteringMarkTypeLeftArrow, HorizontalCenteringMarkTypeRightArrow, HorizontalCenteringMarkTypeLeftandRightArrow, HorizontalCenteringMarkTypeLeftandRightLine } |
the horizontal centering mark type More... | |
enum | VerticalCenteringMarkType { VerticalCenteringMarkTypeNone, VerticalCenteringMarkTypeBottomArrow, VerticalCenteringMarkTypeTopArrow, VerticalCenteringMarkTypeBottomandTopArrow, VerticalCenteringMarkTypeBottomandTopLine } |
the vertical centering mark type More... | |
enum | ZoneMethod { ZoneMethodNone, ZoneMethodStandard, ZoneMethodCustom } |
the zone method More... | |
enum | ZoneOrigin { ZoneOriginBottomRight, ZoneOriginTopLeft, ZoneOriginTopRight, ZoneOriginBottomLeft } |
the zone origin More... | |
Public Member Functions | |
double | BottomMargin () |
Returns the bottom margin Created in NX8.0.0. | |
double | CenteringMarkExtension () |
Returns the centering mark extension Created in NX8.0.0. | |
bool | CreateBorders () |
Returns the create borders Created in NX8.0.0. | |
bool | CreateTrimmingMarks () |
Returns the create trimming marks Created in NX8.0.0. | |
bool | CreateZoneLabels () |
Returns the create zone labels Created in NX8.0.0. | |
bool | CreateZoneMarking () |
Returns the create zone marking Created in NX8.0.0. | |
NXOpen::Drawings::BordersAndZonesBuilder::HorizontalCenteringMarkType | HorizontalCenteringMark () |
Returns the horizontal centering mark Created in NX8.0.0. | |
double | HorizontalSize () |
Returns the horizontal size of the zones Created in NX8.0.0. | |
int | LabelFont () |
Returns the label font Created in NX8.0.0. | |
double | LabelHeight () |
Returns the label height Created in NX8.0.0. | |
double | LeftMargin () |
Returns the left margin Created in NX8.0.0. | |
double | MarkingHeight () |
Returns the marking height Created in NX8.0.0. | |
NXOpen::Drawings::BordersAndZonesBuilder::ZoneMethod | Method () |
Returns the method of creation of zones Created in NX8.0.0. | |
NXOpen::Drawings::BordersAndZonesBuilder::ZoneOrigin | Origin () |
Returns the zone origin type Created in NX8.0.0. | |
double | RightMargin () |
Returns the right margin Created in NX8.0.0. | |
void | SetBottomMargin (double bottomMargin) |
Sets the bottom margin Created in NX8.0.0. | |
void | SetCenteringMarkExtension (double centeringMarkExtension) |
Sets the centering mark extension Created in NX8.0.0. | |
void | SetCreateBorders (bool createBorders) |
Sets the create borders Created in NX8.0.0. | |
void | SetCreateTrimmingMarks (bool createTrimmingMarks) |
Sets the create trimming marks Created in NX8.0.0. | |
void | SetCreateZoneLabels (bool createZoneLabels) |
Sets the create zone labels Created in NX8.0.0. | |
void | SetCreateZoneMarking (bool createZoneMarking) |
Sets the create zone marking Created in NX8.0.0. | |
void | SetHorizontalCenteringMark (NXOpen::Drawings::BordersAndZonesBuilder::HorizontalCenteringMarkType horizontalCenteringMark) |
Sets the horizontal centering mark Created in NX8.0.0. | |
void | SetHorizontalSize (double horizontalSize) |
Sets the horizontal size of the zones Created in NX8.0.0. | |
void | SetLabelFont (int labelFont) |
Sets the label font Created in NX8.0.0. | |
void | SetLabelHeight (double labelHeight) |
Sets the label height Created in NX8.0.0. | |
void | SetLeftMargin (double leftMargin) |
Sets the left margin Created in NX8.0.0. | |
void | SetMarkingHeight (double markingHeight) |
Sets the marking height Created in NX8.0.0. | |
void | SetMethod (NXOpen::Drawings::BordersAndZonesBuilder::ZoneMethod method) |
Sets the method of creation of zones Created in NX8.0.0. | |
void | SetOrigin (NXOpen::Drawings::BordersAndZonesBuilder::ZoneOrigin origin) |
Sets the zone origin type Created in NX8.0.0. | |
void | SetRightMargin (double rightMargin) |
Sets the right margin Created in NX8.0.0. | |
void | SetTopMargin (double topMargin) |
Sets the top margin Created in NX8.0.0. | |
void | SetTrimmingMarkLength (double trimmingMarkLength) |
Sets the trimming mark length Created in NX8.0.0. | |
void | SetTrimmingMarkThickness (double trimmingMarkThickness) |
Sets the trimming mark thickness Created in NX8.0.0. | |
void | SetVerticalCenteringMark (NXOpen::Drawings::BordersAndZonesBuilder::VerticalCenteringMarkType verticalCenteringMark) |
Sets the vertical centering mark Created in NX8.0.0. | |
void | SetVerticalSize (double verticalSize) |
Sets the vertical size of the zones Created in NX8.0.0. | |
void | SetWidth (double width) |
Sets the width of the border Created in NX8.0.0. | |
double | TopMargin () |
Returns the top margin Created in NX8.0.0. | |
double | TrimmingMarkLength () |
Returns the trimming mark length Created in NX8.0.0. | |
double | TrimmingMarkThickness () |
Returns the trimming mark thickness Created in NX8.0.0. | |
NXOpen::Drawings::BordersAndZonesBuilder::VerticalCenteringMarkType | VerticalCenteringMark () |
Returns the vertical centering mark Created in NX8.0.0. | |
double | VerticalSize () |
Returns the vertical size of the zones Created in NX8.0.0. | |
double | Width () |
Returns the width of the border Created in NX8.0.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 Borders and Zones.
It creates and redefines borders and zones.
To create a new instance of this class, use Drawings::BordersAndZonesCollection::CreateBordersAndZonesBuilder
Default values.
Property | Value |
---|---|
BottomMargin |
0 (millimeters part), 0 (inches part) |
CenteringMarkExtension |
5 (millimeters part), 0.25 (inches part) |
CreateBorders |
1 |
CreateTrimmingMarks |
1 |
CreateZoneLabels |
1 |
CreateZoneMarking |
1 |
HorizontalCenteringMark |
None |
HorizontalSize |
50 (millimeters part), 2.5 (inches part) |
LabelFont |
0 |
LabelHeight |
3.5 (millimeters part), 0.125 (inches part) |
LeftMargin |
0 (millimeters part), 0 (inches part) |
MarkingHeight |
10 (millimeters part), 0.375 (inches part) |
Method |
Standard |
Origin |
TopLeft |
RightMargin |
0 (millimeters part), 0 (inches part) |
TopMargin |
0 (millimeters part), 0 (inches part) |
TrimmingMarkLength |
10 (millimeters part), 0.5 (inches part) |
TrimmingMarkThickness |
5 (millimeters part), 0.25 (inches part) |
VerticalCenteringMark |
None |
VerticalSize |
50 (millimeters part), 2.5 (inches part) |
Width |
10 (millimeters part), 0.375 (inches part) |
Created in NX8.0.0.
the horizontal centering mark type
the vertical centering mark type
double NXOpen::Drawings::BordersAndZonesBuilder::BottomMargin | ( | ) |
Returns the bottom margin
Created in NX8.0.0.
License requirements : None
double NXOpen::Drawings::BordersAndZonesBuilder::CenteringMarkExtension | ( | ) |
Returns the centering mark extension
Created in NX8.0.0.
License requirements : None
bool NXOpen::Drawings::BordersAndZonesBuilder::CreateBorders | ( | ) |
Returns the create borders
Created in NX8.0.0.
License requirements : None
bool NXOpen::Drawings::BordersAndZonesBuilder::CreateTrimmingMarks | ( | ) |
Returns the create trimming marks
Created in NX8.0.0.
License requirements : None
bool NXOpen::Drawings::BordersAndZonesBuilder::CreateZoneLabels | ( | ) |
Returns the create zone labels
Created in NX8.0.0.
License requirements : None
bool NXOpen::Drawings::BordersAndZonesBuilder::CreateZoneMarking | ( | ) |
Returns the create zone marking
Created in NX8.0.0.
License requirements : None
NXOpen::Drawings::BordersAndZonesBuilder::HorizontalCenteringMarkType NXOpen::Drawings::BordersAndZonesBuilder::HorizontalCenteringMark | ( | ) |
Returns the horizontal centering mark
Created in NX8.0.0.
License requirements : None
double NXOpen::Drawings::BordersAndZonesBuilder::HorizontalSize | ( | ) |
Returns the horizontal size of the zones
Created in NX8.0.0.
License requirements : None
int NXOpen::Drawings::BordersAndZonesBuilder::LabelFont | ( | ) |
Returns the label font
Created in NX8.0.0.
License requirements : None
double NXOpen::Drawings::BordersAndZonesBuilder::LabelHeight | ( | ) |
Returns the label height
Created in NX8.0.0.
License requirements : None
double NXOpen::Drawings::BordersAndZonesBuilder::LeftMargin | ( | ) |
Returns the left margin
Created in NX8.0.0.
License requirements : None
double NXOpen::Drawings::BordersAndZonesBuilder::MarkingHeight | ( | ) |
Returns the marking height
Created in NX8.0.0.
License requirements : None
NXOpen::Drawings::BordersAndZonesBuilder::ZoneMethod NXOpen::Drawings::BordersAndZonesBuilder::Method | ( | ) |
Returns the method of creation of zones
Created in NX8.0.0.
License requirements : None
NXOpen::Drawings::BordersAndZonesBuilder::ZoneOrigin NXOpen::Drawings::BordersAndZonesBuilder::Origin | ( | ) |
Returns the zone origin type
Created in NX8.0.0.
License requirements : None
double NXOpen::Drawings::BordersAndZonesBuilder::RightMargin | ( | ) |
Returns the right margin
Created in NX8.0.0.
License requirements : None
void NXOpen::Drawings::BordersAndZonesBuilder::SetBottomMargin | ( | double | bottomMargin | ) |
Sets the bottom margin
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
bottomMargin | bottommargin |
void NXOpen::Drawings::BordersAndZonesBuilder::SetCenteringMarkExtension | ( | double | centeringMarkExtension | ) |
Sets the centering mark extension
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
centeringMarkExtension | centeringmarkextension |
void NXOpen::Drawings::BordersAndZonesBuilder::SetCreateBorders | ( | bool | createBorders | ) |
Sets the create borders
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
createBorders | createborders |
void NXOpen::Drawings::BordersAndZonesBuilder::SetCreateTrimmingMarks | ( | bool | createTrimmingMarks | ) |
Sets the create trimming marks
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
createTrimmingMarks | createtrimmingmarks |
void NXOpen::Drawings::BordersAndZonesBuilder::SetCreateZoneLabels | ( | bool | createZoneLabels | ) |
Sets the create zone labels
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
createZoneLabels | createzonelabels |
void NXOpen::Drawings::BordersAndZonesBuilder::SetCreateZoneMarking | ( | bool | createZoneMarking | ) |
Sets the create zone marking
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
createZoneMarking | createzonemarking |
void NXOpen::Drawings::BordersAndZonesBuilder::SetHorizontalCenteringMark | ( | NXOpen::Drawings::BordersAndZonesBuilder::HorizontalCenteringMarkType | horizontalCenteringMark | ) |
Sets the horizontal centering mark
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
horizontalCenteringMark | horizontalcenteringmark |
void NXOpen::Drawings::BordersAndZonesBuilder::SetHorizontalSize | ( | double | horizontalSize | ) |
Sets the horizontal size of the zones
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
horizontalSize | horizontalsize |
void NXOpen::Drawings::BordersAndZonesBuilder::SetLabelFont | ( | int | labelFont | ) |
Sets the label font
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
labelFont | labelfont |
void NXOpen::Drawings::BordersAndZonesBuilder::SetLabelHeight | ( | double | labelHeight | ) |
Sets the label height
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
labelHeight | labelheight |
void NXOpen::Drawings::BordersAndZonesBuilder::SetLeftMargin | ( | double | leftMargin | ) |
Sets the left margin
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
leftMargin | leftmargin |
void NXOpen::Drawings::BordersAndZonesBuilder::SetMarkingHeight | ( | double | markingHeight | ) |
Sets the marking height
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
markingHeight | markingheight |
void NXOpen::Drawings::BordersAndZonesBuilder::SetMethod | ( | NXOpen::Drawings::BordersAndZonesBuilder::ZoneMethod | method | ) |
Sets the method of creation of zones
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
method | method |
void NXOpen::Drawings::BordersAndZonesBuilder::SetOrigin | ( | NXOpen::Drawings::BordersAndZonesBuilder::ZoneOrigin | origin | ) |
Sets the zone origin type
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
origin | origin |
void NXOpen::Drawings::BordersAndZonesBuilder::SetRightMargin | ( | double | rightMargin | ) |
Sets the right margin
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
rightMargin | rightmargin |
void NXOpen::Drawings::BordersAndZonesBuilder::SetTopMargin | ( | double | topMargin | ) |
Sets the top margin
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
topMargin | topmargin |
void NXOpen::Drawings::BordersAndZonesBuilder::SetTrimmingMarkLength | ( | double | trimmingMarkLength | ) |
Sets the trimming mark length
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
trimmingMarkLength | trimmingmarklength |
void NXOpen::Drawings::BordersAndZonesBuilder::SetTrimmingMarkThickness | ( | double | trimmingMarkThickness | ) |
Sets the trimming mark thickness
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
trimmingMarkThickness | trimmingmarkthickness |
void NXOpen::Drawings::BordersAndZonesBuilder::SetVerticalCenteringMark | ( | NXOpen::Drawings::BordersAndZonesBuilder::VerticalCenteringMarkType | verticalCenteringMark | ) |
Sets the vertical centering mark
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
verticalCenteringMark | verticalcenteringmark |
void NXOpen::Drawings::BordersAndZonesBuilder::SetVerticalSize | ( | double | verticalSize | ) |
Sets the vertical size of the zones
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
verticalSize | verticalsize |
void NXOpen::Drawings::BordersAndZonesBuilder::SetWidth | ( | double | width | ) |
Sets the width of the border
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
width | width |
double NXOpen::Drawings::BordersAndZonesBuilder::TopMargin | ( | ) |
Returns the top margin
Created in NX8.0.0.
License requirements : None
double NXOpen::Drawings::BordersAndZonesBuilder::TrimmingMarkLength | ( | ) |
Returns the trimming mark length
Created in NX8.0.0.
License requirements : None
double NXOpen::Drawings::BordersAndZonesBuilder::TrimmingMarkThickness | ( | ) |
Returns the trimming mark thickness
Created in NX8.0.0.
License requirements : None
NXOpen::Drawings::BordersAndZonesBuilder::VerticalCenteringMarkType NXOpen::Drawings::BordersAndZonesBuilder::VerticalCenteringMark | ( | ) |
Returns the vertical centering mark
Created in NX8.0.0.
License requirements : None
double NXOpen::Drawings::BordersAndZonesBuilder::VerticalSize | ( | ) |
Returns the vertical size of the zones
Created in NX8.0.0.
License requirements : None
double NXOpen::Drawings::BordersAndZonesBuilder::Width | ( | ) |
Returns the width of the border
Created in NX8.0.0.
License requirements : None