NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::GeometricUtilities::ColorCodedRegionBuilder Class Reference

Represents a NXOpen::GeometricUtilities::ColorCodedRegionBuilder . More...

Inheritance diagram for NXOpen::GeometricUtilities::ColorCodedRegionBuilder:
NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

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...
 

Detailed Description

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.

Member Function Documentation

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

Parameters
bodytarget body
facetIdpicked facet ID
localVertexIdloccal vertex id of the triangle
void NXOpen::GeometricUtilities::ColorCodedRegionBuilder::BuildColoredRegion ( NXOpen::Facet::FacetedBody facetBody,
int  facetId,
int  localVertexId 
)

Build Colored Region.


Deprecated:
Deprecated in NX11.0.0. Use NXOpen::GeometricUtilities::ColorCodedRegionBuilder::BuildBodyColoredRegion instead.


Created in NX10.0.0.

License requirements : None

Parameters
facetBodytarget facet body
facetIdpicked facet ID
localVertexIdloccal vertex id of the triangle
void NXOpen::GeometricUtilities::ColorCodedRegionBuilder::DeselectColoredRegion ( int  objIndex)

Deselect Colored Region
Created in NX10.0.0.



License requirements : None

Parameters
objIndexcolored 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")

Parameters
allSameColorallsamecolor
virtual bool NXOpen::GeometricUtilities::ColorCodedRegionBuilder::Validate ( )
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.

Returns
Was self validation successful
Created in NX3.0.1.

License requirements : None

Implements NXOpen::GeometricUtilities::IComponentBuilder.


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