NX Open C++ Reference Guide
|
Represents a NXOpen::GeometricUtilities::ColorCodedRegionBuilder . More...
Public Member Functions | |
bool | AllSameColor () |
Returns the option to select all regions of the same color Created in NX10.0.0. More... | |
void | BuildBodyColoredRegion (NXOpen::DisplayableObject *body, int facetId, int localVertexId) |
Build Colored Region. More... | |
void | BuildColoredRegion (NXOpen::Facet::FacetedBody *facetBody, int facetId, int localVertexId) |
Build Colored Region. More... | |
void | DeselectColoredRegion (int objIndex) |
Deselect Colored Region Created in NX10.0.0. More... | |
void | SetAllSameColor (bool allSameColor) |
Sets the option to select all regions of the same color Created in NX10.0.0. 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... | |
Represents a NXOpen::GeometricUtilities::ColorCodedRegionBuilder .
The Color Coded Region block allows the user to select color coded regions of facet bodies .
Created in NX10.0.0.
bool NXOpen::GeometricUtilities::ColorCodedRegionBuilder::AllSameColor | ( | ) |
Returns the option to select all regions of the same color
Created in NX10.0.0.
License requirements : None
void NXOpen::GeometricUtilities::ColorCodedRegionBuilder::BuildBodyColoredRegion | ( | NXOpen::DisplayableObject * | body, |
int | facetId, | ||
int | localVertexId | ||
) |
Build Colored Region.
Inputs to this command can be convergent objects.
Created in NX11.0.0.
License requirements : None
body | target body |
facetId | picked facet ID |
localVertexId | loccal vertex id of the triangle |
void NXOpen::GeometricUtilities::ColorCodedRegionBuilder::BuildColoredRegion | ( | NXOpen::Facet::FacetedBody * | facetBody, |
int | facetId, | ||
int | localVertexId | ||
) |
Build Colored Region.
Created in NX10.0.0.
License requirements : None
facetBody | target facet body |
facetId | picked facet ID |
localVertexId | loccal vertex id of the triangle |
void NXOpen::GeometricUtilities::ColorCodedRegionBuilder::DeselectColoredRegion | ( | int | objIndex | ) |
Deselect Colored Region
Created in NX10.0.0.
License requirements : None
objIndex | colored object to be deselected |
void NXOpen::GeometricUtilities::ColorCodedRegionBuilder::SetAllSameColor | ( | bool | allSameColor | ) |
Sets the option to select all regions of the same color
Created in NX10.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR studio_free_form ("STUDIO FREE FORM")
allSameColor | allsamecolor |
|
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.