NX Open C++ Reference Guide
|
Represents a NXOpen::Facet::LocalOffsetBuilder . More...
Public Types | |
enum | ShapeMethodType { ShapeMethodTypeSharp, ShapeMethodTypeSmooth } |
Continuity Method. More... | |
enum | TransitionMethodType { TransitionMethodTypeNone, TransitionMethodTypeByConstantOffset, TransitionMethodTypeByRegionSelection } |
Transition Region Definition. More... | |
Public Member Functions | |
NXOpen::FacetCollector * | FacetRegion () |
Returns the facets to be offset Created in NX12.0.0. More... | |
NXOpen::FacetCollector * | FacetTransitionRegions () |
Returns the user-selected transition regions Created in NX12.0.0. More... | |
bool | IsEditCopy () |
Returns the option to create a non-associative copy of the selected body and edit that copy Created in NX12.0.0. More... | |
bool | IsRegenerateOffsetMesh () |
Returns the option to rebuild the mesh structure of the offset output Created in NX12.0.0. More... | |
bool | IsReverseDirection () |
Returns the method to reverse the direction of the offset. More... | |
bool | IsSmoothEdge () |
Returns the option to add smoothing to the edge of the offset region Created in NX12.0.0. More... | |
NXOpen::Expression * | OffsetDistance () |
Returns the linear distance of the created local offset, which may be a positive or negative distance Created in NX12.0.0. More... | |
NXOpen::Expression * | RegionDistance () |
Returns the distance of the transition region with the constant offset option Created in NX12.0.0. More... | |
void | SetEditCopy (bool isEditCopy) |
Sets the option to create a non-associative copy of the selected body and edit that copy Created in NX12.0.0. More... | |
void | SetRegenerateOffsetMesh (bool isRegenerateOffsetMesh) |
Sets the option to rebuild the mesh structure of the offset output Created in NX12.0.0. More... | |
void | SetReverseDirection (bool isReverseDirection) |
Sets the method to reverse the direction of the offset. More... | |
void | SetShapeMethod (NXOpen::Facet::LocalOffsetBuilder::ShapeMethodType shapeMethod) |
Sets the method to define the shape of the transition region Created in NX12.0.0. More... | |
void | SetSmoothEdge (bool isSmoothEdge) |
Sets the option to add smoothing to the edge of the offset region Created in NX12.0.0. More... | |
void | SetTransitionMethod (NXOpen::Facet::LocalOffsetBuilder::TransitionMethodType transitionMethod) |
Sets the type of transition region Created in NX12.0.0. More... | |
NXOpen::Facet::LocalOffsetBuilder::ShapeMethodType | ShapeMethod () |
Returns the method to define the shape of the transition region Created in NX12.0.0. More... | |
NXOpen::Facet::LocalOffsetBuilder::TransitionMethodType | TransitionMethod () |
Returns the type of transition region Created in NX12.0.0. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. More... | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. More... | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. 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::Facet::LocalOffsetBuilder .
This class adds or removes material on facet bodies by creating local offsets.
To create a new instance of this class, use NXOpen::Facet::FacetModelingCollection::CreateLocalOffsetBuilder
Default values.
Property | Value |
---|---|
IsEditCopy |
0 |
IsSmoothEdge |
1 |
OffsetDistance.Value |
5 (millimeters part), 0.2 (inches part) |
RegionDistance.Value |
10 (millimeters part), 0.4 (inches part) |
ShapeMethod |
Smooth |
TransitionMethod |
None |
Created in NX12.0.0.
Transition Region Definition.
NXOpen::FacetCollector* NXOpen::Facet::LocalOffsetBuilder::FacetRegion | ( | ) |
Returns the facets to be offset
Created in NX12.0.0.
License requirements : None
NXOpen::FacetCollector* NXOpen::Facet::LocalOffsetBuilder::FacetTransitionRegions | ( | ) |
Returns the user-selected transition regions
Created in NX12.0.0.
License requirements : None
bool NXOpen::Facet::LocalOffsetBuilder::IsEditCopy | ( | ) |
Returns the option to create a non-associative copy of the selected body and edit that copy
Created in NX12.0.0.
License requirements : None
bool NXOpen::Facet::LocalOffsetBuilder::IsRegenerateOffsetMesh | ( | ) |
Returns the option to rebuild the mesh structure of the offset output
Created in NX12.0.0.
License requirements : None
bool NXOpen::Facet::LocalOffsetBuilder::IsReverseDirection | ( | ) |
Returns the method to reverse the direction of the offset.
Created in NX12.0.0.
License requirements : None
bool NXOpen::Facet::LocalOffsetBuilder::IsSmoothEdge | ( | ) |
Returns the option to add smoothing to the edge of the offset region
Created in NX12.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Facet::LocalOffsetBuilder::OffsetDistance | ( | ) |
Returns the linear distance of the created local offset, which may be a positive or negative distance
Created in NX12.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Facet::LocalOffsetBuilder::RegionDistance | ( | ) |
Returns the distance of the transition region with the constant offset option
Created in NX12.0.0.
License requirements : None
void NXOpen::Facet::LocalOffsetBuilder::SetEditCopy | ( | bool | isEditCopy | ) |
Sets the option to create a non-associative copy of the selected body and edit that copy
Created in NX12.0.0.
License requirements : nx_polygon_modeling (" NX Polygon Modeling")
isEditCopy | iseditcopy |
void NXOpen::Facet::LocalOffsetBuilder::SetRegenerateOffsetMesh | ( | bool | isRegenerateOffsetMesh | ) |
Sets the option to rebuild the mesh structure of the offset output
Created in NX12.0.0.
License requirements : nx_polygon_modeling (" NX Polygon Modeling")
isRegenerateOffsetMesh | isregenerateoffsetmesh |
void NXOpen::Facet::LocalOffsetBuilder::SetReverseDirection | ( | bool | isReverseDirection | ) |
Sets the method to reverse the direction of the offset.
Created in NX12.0.0.
License requirements : nx_polygon_modeling (" NX Polygon Modeling")
isReverseDirection | isreversedirection |
void NXOpen::Facet::LocalOffsetBuilder::SetShapeMethod | ( | NXOpen::Facet::LocalOffsetBuilder::ShapeMethodType | shapeMethod | ) |
Sets the method to define the shape of the transition region
Created in NX12.0.0.
License requirements : nx_polygon_modeling (" NX Polygon Modeling")
shapeMethod | shapemethod |
void NXOpen::Facet::LocalOffsetBuilder::SetSmoothEdge | ( | bool | isSmoothEdge | ) |
Sets the option to add smoothing to the edge of the offset region
Created in NX12.0.0.
License requirements : nx_polygon_modeling (" NX Polygon Modeling")
isSmoothEdge | issmoothedge |
void NXOpen::Facet::LocalOffsetBuilder::SetTransitionMethod | ( | NXOpen::Facet::LocalOffsetBuilder::TransitionMethodType | transitionMethod | ) |
Sets the type of transition region
Created in NX12.0.0.
License requirements : nx_polygon_modeling (" NX Polygon Modeling")
transitionMethod | transitionmethod |
NXOpen::Facet::LocalOffsetBuilder::ShapeMethodType NXOpen::Facet::LocalOffsetBuilder::ShapeMethod | ( | ) |
Returns the method to define the shape of the transition region
Created in NX12.0.0.
License requirements : None
NXOpen::Facet::LocalOffsetBuilder::TransitionMethodType NXOpen::Facet::LocalOffsetBuilder::TransitionMethod | ( | ) |
Returns the type of transition region
Created in NX12.0.0.
License requirements : None