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

This class is used to construct the broken view Builder
To create a new instance of this class, use NXOpen::Drawings::DraftingViewCollection::CreateBrokenViewBuilder
Default values. More...

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

Public Types

enum  BreakLineStyle {
  BreakLineStyleSimple, BreakLineStyleStraight, BreakLineStyleSawtooth, BreakLineStyleLongBreak,
  BreakLineStyleTubular, BreakLineStyleSolidTubular, BreakLineStyleSolidRod, BreakLineStyleJigsaw,
  BreakLineStyleWood, BreakLineStyleCopyCurve, BreakLineStyleTemplateCurve
}
 Break Line Type. More...
 
enum  HorizontalBreakSide { HorizontalBreakSideLeftEnd, HorizontalBreakSideRightEnd }
 Which side to remove in case of vertical single-sided break. More...
 
enum  LineWidth {
  LineWidthThin, LineWidthMedium, LineWidthThick, LineWidthWidthOne = 5,
  LineWidthWidthTwo, LineWidthWidthThree, LineWidthWidthFour, LineWidthWidthFive,
  LineWidthWidthSix, LineWidthWidthSeven, LineWidthWidthEight, LineWidthWidthNine
}
 Line Width. More...
 
enum  TypeBreak { TypeBreakRegular, TypeBreakSingleSided }
 Specifies whether the break is two-sided (regular) or one-sided. More...
 
enum  TypeDirection { TypeDirectionParallel, TypeDirectionPerpendicular, TypeDirectionVector }
 Direction Enum. More...
 
enum  VerticalBreakSide { VerticalBreakSideTopEnd, VerticalBreakSideBottomEnd }
 Which side to remove in case of horizontal single-sided break. More...
 

Public Member Functions

NXOpen::ExpressionAmplitude ()
 Returns the break line amplitude
Created in NX7.5.0. More...
 
NXOpen::PointBreakLine1Anchor ()
 Returns the object specifying the position of the first break line
Created in NX7.5.0. More...
 
NXOpen::PointBreakLine1ModelAnchor ()
 Returns the object specifying the position of the first break line
Created in NX7.5.0. More...
 
NXOpen::ExpressionBreakLine1Offset ()
 Returns the offset from the object locating the first break line
Created in NX7.5.0. More...
 
NXOpen::PointBreakLine2Anchor ()
 Returns the object specifying the position of the second break line. More...
 
NXOpen::PointBreakLine2ModelAnchor ()
 Returns the object specifying the position of the second break line. More...
 
NXOpen::ExpressionBreakLine2Offset ()
 Returns the offset from the object locating the second break line. More...
 
NXOpen::Drawings::BrokenViewBuilder::BreakLineStyle BreakLineType ()
 Returns the break line type
Created in NX7.5.0. More...
 
NXOpen::Drawings::BrokenViewBuilder::TypeBreak BreakType ()
 Returns the break type
Created in NX7.5.0. More...
 
bool BreakVisibility ()
 Returns the view break visibilitity
Created in NX8.0.0. More...
 
NXOpen::NXColorColor ()
 Returns the break line color
Created in NX7.5.0. More...
 
NXOpen::Annotations::HatchFillSettingsBuilderCrossHatch ()
 Returns the HatchFillSetting
Created in NX7.5.0. More...
 
NXOpen::Drawings::BrokenViewBuilder::TypeDirection DirectionType ()
 Returns the direction type
Created in NX7.5.0. More...
 
NXOpen::DirectionDirectionVector ()
 Returns the direction vector. More...
 
NXOpen::ScCollectorExistingCurve ()
 Returns the curve to use as existing curve
Created in NX7.5.0. More...
 
NXOpen::ExpressionExtension1 ()
 Returns the break line extension (top/right) beyond geometry
Created in NX7.5.0. More...
 
NXOpen::ExpressionExtension2 ()
 Returns the break line extension (bottom/left) beyond geometry
Created in NX7.5.0. More...
 
NXOpen::ExpressionGap ()
 Returns the gap on the sheet between the two break lines
Created in NX7.5.0. More...
 
bool IsBreakLine1Associative ()
 Returns the associative positionning of the first break line
Created in NX7.5.0. More...
 
bool IsBreakLine2Associative ()
 Returns the associative positionning of the second break line. More...
 
NXOpen::Drawings::SelectDraftingViewMasterView ()
 Returns the master view
Created in NX7.5.0. More...
 
int Repetition ()
 Returns the repetition of the break line pattern
Created in NX7.5.0. More...
 
void SetBreakLine1Anchor (NXOpen::Point *anchor1)
 Sets the object specifying the position of the first break line
Created in NX7.5.0. More...
 
void SetBreakLine1Associative (bool isBreakLine1Associative)
 Sets the associative positionning of the first break line
Created in NX7.5.0. More...
 
void SetBreakLine1ModelAnchor (NXOpen::Point *anchor1)
 Sets the object specifying the position of the first break line
Created in NX7.5.0. More...
 
void SetBreakLine2Anchor (NXOpen::Point *anchor2)
 Sets the object specifying the position of the second break line. More...
 
void SetBreakLine2Associative (bool isBreakLine2Associative)
 Sets the associative positionning of the second break line. More...
 
void SetBreakLine2ModelAnchor (NXOpen::Point *anchor2)
 Sets the object specifying the position of the second break line. More...
 
void SetBreakLineType (NXOpen::Drawings::BrokenViewBuilder::BreakLineStyle lineType)
 Sets the break line type
Created in NX7.5.0. More...
 
void SetBreakType (NXOpen::Drawings::BrokenViewBuilder::TypeBreak breakType)
 Sets the break type
Created in NX7.5.0. More...
 
void SetBreakVisibility (bool visibilitity)
 Sets the view break visibilitity
Created in NX8.0.0. More...
 
void SetColor (NXOpen::NXColor *color)
 Sets the break line color
Created in NX7.5.0. More...
 
void SetDirectionType (NXOpen::Drawings::BrokenViewBuilder::TypeDirection directionType)
 Sets the direction type
Created in NX7.5.0. More...
 
void SetDirectionVector (NXOpen::Direction *directionVector)
 Sets the direction vector. More...
 
void SetRepetition (int repetition)
 Sets the repetition of the break line pattern
Created in NX7.5.0. More...
 
void SetSuppress (bool suppress)
 Sets the view break suppress status
Created in NX7.5.0. More...
 
void SetWidth (NXOpen::Drawings::BrokenViewBuilder::LineWidth width)
 Sets the curve width of the break line
Created in NX7.5.0. More...
 
bool Suppress ()
 Returns the view break suppress status
Created in NX8.0.0. More...
 
NXOpen::Drawings::BrokenViewBuilder::LineWidth Width ()
 Returns the curve width of the break line
Created in NX7.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

This class is used to construct the broken view Builder
To create a new instance of this class, use NXOpen::Drawings::DraftingViewCollection::CreateBrokenViewBuilder
Default values.

Property Value

Amplitude.Value

5 (millimeters part), 0.25 (inches part)

BreakLine1Offset.Value

0 (millimeters part), 0 (inches part)

BreakLine2Offset.Value

0 (millimeters part), 0 (inches part)

BreakLineType

Simple

BreakType

Regular

DirectionType

Vector

Extension1.Value

0 (millimeters part), 0 (inches part)

Extension2.Value

0 (millimeters part), 0 (inches part)

Gap.Value

10 (millimeters part), 0.25 (inches part)

IsBreakLine1Associative

1

IsBreakLine2Associative

1

Repetition

1

Width

Medium


Created in NX7.5.0.

Member Enumeration Documentation

Break Line Type.

Enumerator
BreakLineStyleSimple 

Simple.

BreakLineStyleStraight 

Straight.

BreakLineStyleSawtooth 

Sawtooth.

BreakLineStyleLongBreak 

LongBreak.

BreakLineStyleTubular 

Tubular.

BreakLineStyleSolidTubular 

Solid Tubular.

BreakLineStyleSolidRod 

Solid Rod.

BreakLineStyleJigsaw 

Jigsaw.

BreakLineStyleWood 

Wood.

BreakLineStyleCopyCurve 

Copy of the existing curve.

BreakLineStyleTemplateCurve 

Template, based on the existing curve.

Which side to remove in case of vertical single-sided break.

Enumerator
HorizontalBreakSideLeftEnd 

Hide Left side.

HorizontalBreakSideRightEnd 

Hide Right side.

Line Width.

Enumerator
LineWidthThin 

Thin.

LineWidthMedium 

Medium.

LineWidthThick 

Thick.

LineWidthWidthOne 

Width One.

LineWidthWidthTwo 

Width Two.

LineWidthWidthThree 

Width Three.

LineWidthWidthFour 

Width Four.

LineWidthWidthFive 

Width Five.

LineWidthWidthSix 

Width Six.

LineWidthWidthSeven 

Width Seven.

LineWidthWidthEight 

Width Eight.

LineWidthWidthNine 

Width Nine.

Specifies whether the break is two-sided (regular) or one-sided.

Enumerator
TypeBreakRegular 

Regular Break.

TypeBreakSingleSided 

SingleSiled Break.

Direction Enum.

Enumerator
TypeDirectionParallel 

Parallel.

TypeDirectionPerpendicular 

Perpendicular.

TypeDirectionVector 

Specified by Vector.

Which side to remove in case of horizontal single-sided break.

Enumerator
VerticalBreakSideTopEnd 

Hide Top side.

VerticalBreakSideBottomEnd 

Hide Bottom side.

Member Function Documentation

NXOpen::Expression* NXOpen::Drawings::BrokenViewBuilder::Amplitude ( )

Returns the break line amplitude
Created in NX7.5.0.



License requirements : None

NXOpen::Point* NXOpen::Drawings::BrokenViewBuilder::BreakLine1Anchor ( )

Returns the object specifying the position of the first break line
Created in NX7.5.0.



License requirements : None

NXOpen::Point* NXOpen::Drawings::BrokenViewBuilder::BreakLine1ModelAnchor ( )

Returns the object specifying the position of the first break line
Created in NX7.5.0.



License requirements : None

NXOpen::Expression* NXOpen::Drawings::BrokenViewBuilder::BreakLine1Offset ( )

Returns the offset from the object locating the first break line
Created in NX7.5.0.



License requirements : None

NXOpen::Point* NXOpen::Drawings::BrokenViewBuilder::BreakLine2Anchor ( )

Returns the object specifying the position of the second break line.

For Drawings::BrokenViewBuilder::TypeBreakRegular only
Created in NX7.5.0.

License requirements : None

NXOpen::Point* NXOpen::Drawings::BrokenViewBuilder::BreakLine2ModelAnchor ( )

Returns the object specifying the position of the second break line.

For Drawings::BrokenViewBuilder::TypeBreakRegular only
Created in NX7.5.0.

License requirements : None

NXOpen::Expression* NXOpen::Drawings::BrokenViewBuilder::BreakLine2Offset ( )

Returns the offset from the object locating the second break line.

For Drawings::BrokenViewBuilder::TypeBreakRegular only
Created in NX7.5.0.

License requirements : None

NXOpen::Drawings::BrokenViewBuilder::BreakLineStyle NXOpen::Drawings::BrokenViewBuilder::BreakLineType ( )

Returns the break line type
Created in NX7.5.0.



License requirements : None

NXOpen::Drawings::BrokenViewBuilder::TypeBreak NXOpen::Drawings::BrokenViewBuilder::BreakType ( )

Returns the break type
Created in NX7.5.0.



License requirements : None

bool NXOpen::Drawings::BrokenViewBuilder::BreakVisibility ( )

Returns the view break visibilitity
Created in NX8.0.0.



License requirements : None

NXOpen::NXColor* NXOpen::Drawings::BrokenViewBuilder::Color ( )

Returns the break line color
Created in NX7.5.0.



License requirements : None

NXOpen::Annotations::HatchFillSettingsBuilder* NXOpen::Drawings::BrokenViewBuilder::CrossHatch ( )

Returns the HatchFillSetting
Created in NX7.5.0.



License requirements : None

NXOpen::Drawings::BrokenViewBuilder::TypeDirection NXOpen::Drawings::BrokenViewBuilder::DirectionType ( )

Returns the direction type
Created in NX7.5.0.



License requirements : None

NXOpen::Direction* NXOpen::Drawings::BrokenViewBuilder::DirectionVector ( )

Returns the direction vector.

For Drawings::BrokenViewBuilder::TypeDirectionVector .
Created in NX7.5.0.

License requirements : None

NXOpen::ScCollector* NXOpen::Drawings::BrokenViewBuilder::ExistingCurve ( )

Returns the curve to use as existing curve
Created in NX7.5.0.



License requirements : None

NXOpen::Expression* NXOpen::Drawings::BrokenViewBuilder::Extension1 ( )

Returns the break line extension (top/right) beyond geometry
Created in NX7.5.0.



License requirements : None

NXOpen::Expression* NXOpen::Drawings::BrokenViewBuilder::Extension2 ( )

Returns the break line extension (bottom/left) beyond geometry
Created in NX7.5.0.



License requirements : None

NXOpen::Expression* NXOpen::Drawings::BrokenViewBuilder::Gap ( )

Returns the gap on the sheet between the two break lines
Created in NX7.5.0.



License requirements : None

bool NXOpen::Drawings::BrokenViewBuilder::IsBreakLine1Associative ( )

Returns the associative positionning of the first break line
Created in NX7.5.0.



License requirements : None

bool NXOpen::Drawings::BrokenViewBuilder::IsBreakLine2Associative ( )

Returns the associative positionning of the second break line.

For Drawings::BrokenViewBuilder::TypeBreakRegular only
Created in NX7.5.0.

License requirements : None

NXOpen::Drawings::SelectDraftingView* NXOpen::Drawings::BrokenViewBuilder::MasterView ( )

Returns the master view
Created in NX7.5.0.



License requirements : None

int NXOpen::Drawings::BrokenViewBuilder::Repetition ( )

Returns the repetition of the break line pattern
Created in NX7.5.0.



License requirements : None

void NXOpen::Drawings::BrokenViewBuilder::SetBreakLine1Anchor ( NXOpen::Point anchor1)

Sets the object specifying the position of the first break line
Created in NX7.5.0.



License requirements : None

Parameters
anchor1anchor1
void NXOpen::Drawings::BrokenViewBuilder::SetBreakLine1Associative ( bool  isBreakLine1Associative)

Sets the associative positionning of the first break line
Created in NX7.5.0.



License requirements : None

Parameters
isBreakLine1Associativeisbreakline1associative
void NXOpen::Drawings::BrokenViewBuilder::SetBreakLine1ModelAnchor ( NXOpen::Point anchor1)

Sets the object specifying the position of the first break line
Created in NX7.5.0.



License requirements : None

Parameters
anchor1anchor1
void NXOpen::Drawings::BrokenViewBuilder::SetBreakLine2Anchor ( NXOpen::Point anchor2)

Sets the object specifying the position of the second break line.

For Drawings::BrokenViewBuilder::TypeBreakRegular only
Created in NX7.5.0.

License requirements : None

Parameters
anchor2anchor2
void NXOpen::Drawings::BrokenViewBuilder::SetBreakLine2Associative ( bool  isBreakLine2Associative)

Sets the associative positionning of the second break line.

For Drawings::BrokenViewBuilder::TypeBreakRegular only
Created in NX7.5.0.

License requirements : None

Parameters
isBreakLine2Associativeisbreakline2associative
void NXOpen::Drawings::BrokenViewBuilder::SetBreakLine2ModelAnchor ( NXOpen::Point anchor2)

Sets the object specifying the position of the second break line.

For Drawings::BrokenViewBuilder::TypeBreakRegular only
Created in NX7.5.0.

License requirements : None

Parameters
anchor2anchor2
void NXOpen::Drawings::BrokenViewBuilder::SetBreakLineType ( NXOpen::Drawings::BrokenViewBuilder::BreakLineStyle  lineType)

Sets the break line type
Created in NX7.5.0.



License requirements : None

Parameters
lineTypelinetype
void NXOpen::Drawings::BrokenViewBuilder::SetBreakType ( NXOpen::Drawings::BrokenViewBuilder::TypeBreak  breakType)

Sets the break type
Created in NX7.5.0.



License requirements : None

Parameters
breakTypebreaktype
void NXOpen::Drawings::BrokenViewBuilder::SetBreakVisibility ( bool  visibilitity)

Sets the view break visibilitity
Created in NX8.0.0.



License requirements : None

Parameters
visibilitityvisibilitity
void NXOpen::Drawings::BrokenViewBuilder::SetColor ( NXOpen::NXColor color)

Sets the break line color
Created in NX7.5.0.



License requirements : None

Parameters
colorcolor
void NXOpen::Drawings::BrokenViewBuilder::SetDirectionType ( NXOpen::Drawings::BrokenViewBuilder::TypeDirection  directionType)

Sets the direction type
Created in NX7.5.0.



License requirements : None

Parameters
directionTypedirectiontype
void NXOpen::Drawings::BrokenViewBuilder::SetDirectionVector ( NXOpen::Direction directionVector)

Sets the direction vector.

For Drawings::BrokenViewBuilder::TypeDirectionVector .
Created in NX7.5.0.

License requirements : None

Parameters
directionVectordirectionvector
void NXOpen::Drawings::BrokenViewBuilder::SetRepetition ( int  repetition)

Sets the repetition of the break line pattern
Created in NX7.5.0.



License requirements : None

Parameters
repetitionrepetition
void NXOpen::Drawings::BrokenViewBuilder::SetSuppress ( bool  suppress)

Sets the view break suppress status
Created in NX7.5.0.



License requirements : None

Parameters
suppresssuppress
void NXOpen::Drawings::BrokenViewBuilder::SetWidth ( NXOpen::Drawings::BrokenViewBuilder::LineWidth  width)

Sets the curve width of the break line
Created in NX7.5.0.



License requirements : None

Parameters
widthwidth
bool NXOpen::Drawings::BrokenViewBuilder::Suppress ( )

Returns the view break suppress status
Created in NX8.0.0.



License requirements : None

NXOpen::Drawings::BrokenViewBuilder::LineWidth NXOpen::Drawings::BrokenViewBuilder::Width ( )

Returns the curve width of the break line
Created in NX7.5.0.



License requirements : None


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