NX Open C++ Reference Guide
|
Represents a LineWidthBuilder. More...
Public Member Functions | |
bool | IsValidOption (NXOpen::LineWidthOption widthOption) |
Determines if the specified width option is supported. | |
void | SetWidth (NXOpen::DisplayableObject::ObjectWidth width) |
Sets the width. | |
void | SetWidthOption (NXOpen::LineWidthOption widthOption) |
Sets the width option Use LineWidthBuilder::IsValidOption to check whether the width option is supported by the builder. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
NXOpen::DisplayableObject::ObjectWidth | Width () |
Returns the width. | |
NXOpen::LineWidthOption | WidthOption () |
Returns the width option Use LineWidthBuilder::IsValidOption to check whether the width option is supported by the builder. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a LineWidthBuilder.
Created in NX8.5.0.
bool NXOpen::LineWidthBuilder::IsValidOption | ( | NXOpen::LineWidthOption | widthOption | ) |
Determines if the specified width option is supported.
widthOption | widthoption |
void NXOpen::LineWidthBuilder::SetWidth | ( | NXOpen::DisplayableObject::ObjectWidth | width | ) |
Sets the width.
Used when the width option is set to LineWidthOptionAssigned .
Created in NX8.5.0.
License requirements : None
width | width |
void NXOpen::LineWidthBuilder::SetWidthOption | ( | NXOpen::LineWidthOption | widthOption | ) |
Sets the width option
Use LineWidthBuilder::IsValidOption to check whether the width option is supported by the builder.
<br>
Created in NX8.5.0.
License requirements : None
widthOption | widthoption |
|
virtual |
Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven't set it. This method throws a not-yet-implemented NXException for some components.
Implements NXOpen::GeometricUtilities::IComponentBuilder.
NXOpen::DisplayableObject::ObjectWidth NXOpen::LineWidthBuilder::Width | ( | ) |
Returns the width.
Used when the width option is set to LineWidthOptionAssigned .
Created in NX8.5.0.
License requirements : None
NXOpen::LineWidthOption NXOpen::LineWidthBuilder::WidthOption | ( | ) |
Returns the width option
Use LineWidthBuilder::IsValidOption to check whether the width option is supported by the builder.
<br>
Created in NX8.5.0.
License requirements : None