NX Open C++ Reference Guide
|
Represents a builder to be used to create specify baffle. More...
Public Types | |
enum | AttributeTypes { AttributeTypesBodyAsChannel, AttributeTypesBodyAsBaffle } |
Types to specify how to assign attributes to the selected body. More... | |
Public Member Functions | |
NXOpen::Tooling::SpecifyBaffleBuilder::AttributeTypes | AttributeType () |
Returns the type of attributes conversion type values. | |
NXOpen::NXColor * | ChannelColor () |
Returns the selected channel body color. | |
NXOpen::SelectBodyList * | Channels () |
Returns the channel or body to assign new attributes. | |
void | GetChannelColor (double *redValue, double *greenValue, double *blueValue) |
Returns color value for the selected channels. | |
int | Layer () |
Returns the layer value for the selected channels. | |
void | SetAttributeType (NXOpen::Tooling::SpecifyBaffleBuilder::AttributeTypes attrType) |
Sets the type of attributes conversion type values. | |
void | SetChannelColor (NXOpen::NXColor *channelColor) |
Sets the selected channel body color. | |
void | SetChannelColor (double redValue, double greenValue, double blueValue) |
Sets the channel color. | |
void | SetColorModified (bool modified) |
Sets the color value modified or not. | |
void | SetLayer (int layer) |
Sets the layer value for the selected channels. | |
![]() | |
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 to be used to create specify baffle.
To create a new instance of this class, use Tooling::SpecifyBaffleCollection::CreateBuilder
Default values.
Property | Value |
---|---|
AttributeType |
BodyAsChannel |
1 |
Created in NX8.0.0.
NXOpen::Tooling::SpecifyBaffleBuilder::AttributeTypes NXOpen::Tooling::SpecifyBaffleBuilder::AttributeType | ( | ) |
Returns the type of attributes conversion type values.
Created in NX8.0.0.
License requirements : ug_mold_design ("UG MOLD")
NXOpen::NXColor* NXOpen::Tooling::SpecifyBaffleBuilder::ChannelColor | ( | ) |
Returns the selected channel body color.
Created in NX8.0.1.
License requirements : ug_mold_design ("UG MOLD")
NXOpen::SelectBodyList* NXOpen::Tooling::SpecifyBaffleBuilder::Channels | ( | ) |
Returns the channel or body to assign new attributes.
Created in NX8.0.0.
License requirements : ug_mold_design ("UG MOLD")
void NXOpen::Tooling::SpecifyBaffleBuilder::GetChannelColor | ( | double * | redValue, |
double * | greenValue, | ||
double * | blueValue | ||
) |
Returns color value for the selected channels.
Created in NX8.0.0.
License requirements : ug_mold_design ("UG MOLD")
redValue | red value between 0 and 1 |
greenValue | green value between 0 and 1 |
blueValue | blue value between 0 and 1 |
int NXOpen::Tooling::SpecifyBaffleBuilder::Layer | ( | ) |
Returns the layer value for the selected channels.
Created in NX8.0.0.
License requirements : ug_mold_design ("UG MOLD")
void NXOpen::Tooling::SpecifyBaffleBuilder::SetAttributeType | ( | NXOpen::Tooling::SpecifyBaffleBuilder::AttributeTypes | attrType | ) |
Sets the type of attributes conversion type values.
Created in NX8.0.0.
License requirements : ug_mold_design ("UG MOLD")
attrType | attrtype |
void NXOpen::Tooling::SpecifyBaffleBuilder::SetChannelColor | ( | NXOpen::NXColor * | channelColor | ) |
Sets the selected channel body color.
Created in NX8.0.1.
License requirements : ug_mold_design ("UG MOLD")
channelColor | channelcolor |
void NXOpen::Tooling::SpecifyBaffleBuilder::SetChannelColor | ( | double | redValue, |
double | greenValue, | ||
double | blueValue | ||
) |
Sets the channel color.
Created in NX8.0.0.
License requirements : ug_mold_design ("UG MOLD")
redValue | red value between 0 and 1 |
greenValue | green value between 0 and 1 |
blueValue | blue value between 0 and 1 |
void NXOpen::Tooling::SpecifyBaffleBuilder::SetColorModified | ( | bool | modified | ) |
Sets the color value modified or not.
Created in NX8.0.0.
License requirements : ug_mold_design ("UG MOLD")
modified | modified |
void NXOpen::Tooling::SpecifyBaffleBuilder::SetLayer | ( | int | layer | ) |
Sets the layer value for the selected channels.
Created in NX8.0.0.
License requirements : ug_mold_design ("UG MOLD")
layer | layer |