NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::Drawings::BordersAndZonesBuilder Class Reference

Builder for creating Borders and Zones. More...

Inheritance diagram for NXOpen::Drawings::BordersAndZonesBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

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.
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 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::NXObjectGetObject ()
 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.
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t GetTag () const
 
<b>Deprecated</b>:<br>

   Use Tag instead.

 
tag_t Tag () const
 Returns the tag of this object.
 

Detailed Description

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.

Member Enumeration Documentation

the font

Enumerator:
FontEnumBlockfont 

blockfont

the horizontal centering mark type

Enumerator:
HorizontalCenteringMarkTypeNone 

None.

HorizontalCenteringMarkTypeLeftArrow 

Left Arrow.

HorizontalCenteringMarkTypeRightArrow 

Right Arrow.

HorizontalCenteringMarkTypeLeftandRightArrow 

Left and Right Arrow.

HorizontalCenteringMarkTypeLeftandRightLine 

leftand right line

the vertical centering mark type

Enumerator:
VerticalCenteringMarkTypeNone 

None.

VerticalCenteringMarkTypeBottomArrow 

Bottom Arrow.

VerticalCenteringMarkTypeTopArrow 

Top Arrow.

VerticalCenteringMarkTypeBottomandTopArrow 

Bottom and Top Arrow.

VerticalCenteringMarkTypeBottomandTopLine 

bottomand top line

the zone method

Enumerator:
ZoneMethodNone 

None.

ZoneMethodStandard 

Standard.

ZoneMethodCustom 

custom

the zone origin

Enumerator:
ZoneOriginBottomRight 

Bottom Right.

ZoneOriginTopLeft 

Top Left.

ZoneOriginTopRight 

Top Right.

ZoneOriginBottomLeft 

bottom left

Member Function Documentation

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

Parameters
bottomMarginbottommargin
void NXOpen::Drawings::BordersAndZonesBuilder::SetCenteringMarkExtension ( double  centeringMarkExtension)

Sets the centering mark extension
Created in NX8.0.0.



License requirements : drafting ("DRAFTING")

Parameters
centeringMarkExtensioncenteringmarkextension
void NXOpen::Drawings::BordersAndZonesBuilder::SetCreateBorders ( bool  createBorders)

Sets the create borders
Created in NX8.0.0.



License requirements : drafting ("DRAFTING")

Parameters
createBorderscreateborders
void NXOpen::Drawings::BordersAndZonesBuilder::SetCreateTrimmingMarks ( bool  createTrimmingMarks)

Sets the create trimming marks
Created in NX8.0.0.



License requirements : drafting ("DRAFTING")

Parameters
createTrimmingMarkscreatetrimmingmarks
void NXOpen::Drawings::BordersAndZonesBuilder::SetCreateZoneLabels ( bool  createZoneLabels)

Sets the create zone labels
Created in NX8.0.0.



License requirements : drafting ("DRAFTING")

Parameters
createZoneLabelscreatezonelabels
void NXOpen::Drawings::BordersAndZonesBuilder::SetCreateZoneMarking ( bool  createZoneMarking)

Sets the create zone marking
Created in NX8.0.0.



License requirements : drafting ("DRAFTING")

Parameters
createZoneMarkingcreatezonemarking
void NXOpen::Drawings::BordersAndZonesBuilder::SetHorizontalCenteringMark ( NXOpen::Drawings::BordersAndZonesBuilder::HorizontalCenteringMarkType  horizontalCenteringMark)

Sets the horizontal centering mark
Created in NX8.0.0.



License requirements : drafting ("DRAFTING")

Parameters
horizontalCenteringMarkhorizontalcenteringmark
void NXOpen::Drawings::BordersAndZonesBuilder::SetHorizontalSize ( double  horizontalSize)

Sets the horizontal size of the zones
Created in NX8.0.0.



License requirements : drafting ("DRAFTING")

Parameters
horizontalSizehorizontalsize
void NXOpen::Drawings::BordersAndZonesBuilder::SetLabelFont ( int  labelFont)

Sets the label font
Created in NX8.0.0.



License requirements : drafting ("DRAFTING")

Parameters
labelFontlabelfont
void NXOpen::Drawings::BordersAndZonesBuilder::SetLabelHeight ( double  labelHeight)

Sets the label height
Created in NX8.0.0.



License requirements : drafting ("DRAFTING")

Parameters
labelHeightlabelheight
void NXOpen::Drawings::BordersAndZonesBuilder::SetLeftMargin ( double  leftMargin)

Sets the left margin
Created in NX8.0.0.



License requirements : drafting ("DRAFTING")

Parameters
leftMarginleftmargin
void NXOpen::Drawings::BordersAndZonesBuilder::SetMarkingHeight ( double  markingHeight)

Sets the marking height
Created in NX8.0.0.



License requirements : drafting ("DRAFTING")

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

Parameters
methodmethod
void NXOpen::Drawings::BordersAndZonesBuilder::SetOrigin ( NXOpen::Drawings::BordersAndZonesBuilder::ZoneOrigin  origin)

Sets the zone origin type
Created in NX8.0.0.



License requirements : drafting ("DRAFTING")

Parameters
originorigin
void NXOpen::Drawings::BordersAndZonesBuilder::SetRightMargin ( double  rightMargin)

Sets the right margin
Created in NX8.0.0.



License requirements : drafting ("DRAFTING")

Parameters
rightMarginrightmargin
void NXOpen::Drawings::BordersAndZonesBuilder::SetTopMargin ( double  topMargin)

Sets the top margin
Created in NX8.0.0.



License requirements : drafting ("DRAFTING")

Parameters
topMargintopmargin
void NXOpen::Drawings::BordersAndZonesBuilder::SetTrimmingMarkLength ( double  trimmingMarkLength)

Sets the trimming mark length
Created in NX8.0.0.



License requirements : drafting ("DRAFTING")

Parameters
trimmingMarkLengthtrimmingmarklength
void NXOpen::Drawings::BordersAndZonesBuilder::SetTrimmingMarkThickness ( double  trimmingMarkThickness)

Sets the trimming mark thickness
Created in NX8.0.0.



License requirements : drafting ("DRAFTING")

Parameters
trimmingMarkThicknesstrimmingmarkthickness
void NXOpen::Drawings::BordersAndZonesBuilder::SetVerticalCenteringMark ( NXOpen::Drawings::BordersAndZonesBuilder::VerticalCenteringMarkType  verticalCenteringMark)

Sets the vertical centering mark
Created in NX8.0.0.



License requirements : drafting ("DRAFTING")

Parameters
verticalCenteringMarkverticalcenteringmark
void NXOpen::Drawings::BordersAndZonesBuilder::SetVerticalSize ( double  verticalSize)

Sets the vertical size of the zones
Created in NX8.0.0.



License requirements : drafting ("DRAFTING")

Parameters
verticalSizeverticalsize
void NXOpen::Drawings::BordersAndZonesBuilder::SetWidth ( double  width)

Sets the width of the border
Created in NX8.0.0.



License requirements : drafting ("DRAFTING")

Parameters
widthwidth
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


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