NX Open C++ Reference Guide
|
Represents a builder Assemblies::ProductOutlineBuilder . More...
Public Types | |
enum | LineFont { LineFontSolid, LineFontDashed, LineFontPhantom, LineFontCenterline, LineFontDotted, LineFontLongdash, LineFontDotdash } |
Represents the line font types. More... | |
Public Member Functions | |
NXOpen::Assemblies::ProductOutlineBuilder::LineFont | LineFontType () |
Returns the line font type for the objects defined in Product Outline. | |
NXOpen::NXColor * | OutlineColor () |
Returns the color for all the objects defined in Product Outline. | |
bool | OverrideColor () |
Returns the flag to override-color switch. | |
NXOpen::SelectDisplayableObjectList * | SelectObject () |
Returns the objects defined in Product Outline. | |
void | SetLineFontType (NXOpen::Assemblies::ProductOutlineBuilder::LineFont lineFontType) |
Sets the line font type for the objects defined in Product Outline. | |
void | SetOutlineColor (NXOpen::NXColor *outlineColor) |
Sets the color for all the objects defined in Product Outline. | |
void | SetOverrideColor (bool overrideColor) |
Sets the flag to override-color switch. | |
void | SetTranslucency (int translucency) |
Sets the translucency of faceted bodies/objects defined in Product Outline. | |
int | Translucency () |
Returns the translucency of faceted bodies/objects defined in Product Outline. | |
![]() | |
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. | |
Represents a builder Assemblies::ProductOutlineBuilder .
<br> To create a new instance of this class, use @link Assemblies::ProductOutlineManager::CreateProductOutlineBuilder Assemblies::ProductOutlineManager::CreateProductOutlineBuilder @endlink <br>
Default values.
Property | Value |
---|---|
LineFontType |
Solid |
OverrideColor |
false |
Translucency |
50 |
Created in NX6.0.0.
NXOpen::Assemblies::ProductOutlineBuilder::LineFont NXOpen::Assemblies::ProductOutlineBuilder::LineFontType | ( | ) |
Returns the line font type for the objects defined in Product Outline.
The font types are mentioned in Assemblies::ProductOutlineBuilder::LineFont .
Created in NX6.0.0.
License requirements : None
NXOpen::NXColor* NXOpen::Assemblies::ProductOutlineBuilder::OutlineColor | ( | ) |
Returns the color for all the objects defined in Product Outline.
The range is 1-216
Created in NX6.0.0.
License requirements : None
bool NXOpen::Assemblies::ProductOutlineBuilder::OverrideColor | ( | ) |
Returns the flag to override-color switch.
If "true" the facet representation is in original color of selected object, else representation is in the color defined by Assemblies::ProductOutlineBuilder::OutlineColor .
Created in NX6.0.0.
License requirements : None
NXOpen::SelectDisplayableObjectList* NXOpen::Assemblies::ProductOutlineBuilder::SelectObject | ( | ) |
Returns the objects defined in Product Outline.
Created in NX6.0.0.
License requirements : None
void NXOpen::Assemblies::ProductOutlineBuilder::SetLineFontType | ( | NXOpen::Assemblies::ProductOutlineBuilder::LineFont | lineFontType | ) |
Sets the line font type for the objects defined in Product Outline.
The font types are mentioned in Assemblies::ProductOutlineBuilder::LineFont .
Created in NX6.0.0.
License requirements : assemblies ("ASSEMBLIES MODULE")
lineFontType | linefonttype |
void NXOpen::Assemblies::ProductOutlineBuilder::SetOutlineColor | ( | NXOpen::NXColor * | outlineColor | ) |
Sets the color for all the objects defined in Product Outline.
The range is 1-216
Created in NX6.0.0.
License requirements : assemblies ("ASSEMBLIES MODULE")
outlineColor | outlinecolor |
void NXOpen::Assemblies::ProductOutlineBuilder::SetOverrideColor | ( | bool | overrideColor | ) |
Sets the flag to override-color switch.
If "true" the facet representation is in original color of selected object, else representation is in the color defined by Assemblies::ProductOutlineBuilder::OutlineColor .
Created in NX6.0.0.
License requirements : assemblies ("ASSEMBLIES MODULE")
overrideColor | overridecolor |
void NXOpen::Assemblies::ProductOutlineBuilder::SetTranslucency | ( | int | translucency | ) |
Sets the translucency of faceted bodies/objects defined in Product Outline.
The range is 0-100.
Created in NX6.0.0.
License requirements : assemblies ("ASSEMBLIES MODULE")
translucency | translucency |
int NXOpen::Assemblies::ProductOutlineBuilder::Translucency | ( | ) |
Returns the translucency of faceted bodies/objects defined in Product Outline.
The range is 0-100.
Created in NX6.0.0.
License requirements : None