NX Open C++ Reference Guide
|
Represents a SnipFacetBody builder <br> To create a new instance of this class, use @link Facet::FacetedBodyCollection::CreateSnipFacetBodyBuilder Facet::FacetedBodyCollection::CreateSnipFacetBodyBuilder @endlink <br>
Default values. More...
Public Types | |
enum | BoundaryFacetTreatmentMethod { BoundaryFacetTreatmentMethodSnipFacets, BoundaryFacetTreatmentMethodRemoveFacets } |
Boundary facet treatment type: More... | |
enum | DirectionType { DirectionTypeViewDirection, DirectionTypeFacetNormal, DirectionTypeAlongVector } |
Snipping direction when snipping type "by profiles". More... | |
enum | Types { TypesSnipRegion, TypesSnipWithCurves, TypesSnipAtPlane } |
Snip method. More... | |
Public Member Functions | |
NXOpen::Facet::SnipFacetBodyBuilder::DirectionType | AlongDirection () |
Returns the direction in which snipping profiles are projected on the facet bodies Created in NX7.5.0. | |
NXOpen::Facet::SnipFacetBodyBuilder::BoundaryFacetTreatmentMethod | BoundaryFacetTreatmentType () |
Returns the boundary facet treatment type Created in NX7.5.0. | |
bool | CanDivide () |
Returns the value indicating if facet body is to be divided Created in NX7.5.0. | |
NXOpen::Facet::SelectFacetedBodyList * | FacetBodies () |
Returns the facet bodies to snip Created in NX7.5.0. | |
bool | IsEditCopy () |
Returns the value indicating if a copy of the facet body to be snipped without altering the original Created in NX7.5.0. | |
bool | IsSnipNearFacets () |
Returns the value indicating if only facets near to the viewer to be snipped Created in NX7.5.0. | |
NXOpen::Plane * | Plane () |
Returns the snipping plane Created in NX7.5.0. | |
NXOpen::SectionList * | ProfileList () |
Returns the list of snipping profiles Created in NX7.5.0. | |
NXOpen::Direction * | ProjectionVector () |
Returns the projection vector Created in NX7.5.0. | |
NXOpen::GeometricUtilities::BoundaryDefinitionBuilderList * | RegionList () |
Returns the list of regions to snip Created in NX7.5.0. | |
NXOpen::SelectPointList * | RegionPoint () |
Returns the point indicating the portion of the facet body with respect to specified region to be snipped. | |
void | SetAlongDirection (NXOpen::Facet::SnipFacetBodyBuilder::DirectionType alongDirection) |
Sets the direction in which snipping profiles are projected on the facet bodies Created in NX7.5.0. | |
void | SetBoundaryFacetTreatmentType (NXOpen::Facet::SnipFacetBodyBuilder::BoundaryFacetTreatmentMethod boundaryFacetTreatmentType) |
Sets the boundary facet treatment type Created in NX7.5.0. | |
void | SetCanDivide (bool canDivide) |
Sets the value indicating if facet body is to be divided Created in NX7.5.0. | |
void | SetEditCopy (bool isEditCopy) |
Sets the value indicating if a copy of the facet body to be snipped without altering the original Created in NX7.5.0. | |
void | SetPlane (NXOpen::Plane *plane) |
Sets the snipping plane Created in NX7.5.0. | |
void | SetProjectionVector (NXOpen::Direction *projectionVector) |
Sets the projection vector Created in NX7.5.0. | |
void | SetSnipNearFacets (bool isSnipNearFacets) |
Sets the value indicating if only facets near to the viewer to be snipped Created in NX7.5.0. | |
void | SetType (NXOpen::Facet::SnipFacetBodyBuilder::Types type) |
Sets the snipping method accessor Created in NX7.5.0. | |
void | SetViewDirection (const NXOpen::Vector3d &viewDirection) |
Sets the view direction Created in NX7.5.0. | |
void | SwitchRegion () |
Switch the region to be snipped indicated by the region point. | |
NXOpen::Facet::SnipFacetBodyBuilder::Types | Type () |
Returns the snipping method accessor Created in NX7.5.0. | |
NXOpen::Vector3d | ViewDirection () |
Returns the view direction Created in NX7.5.0. | |
![]() | |
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 SnipFacetBody builder <br> To create a new instance of this class, use @link Facet::FacetedBodyCollection::CreateSnipFacetBodyBuilder Facet::FacetedBodyCollection::CreateSnipFacetBodyBuilder @endlink <br>
Default values.
Property | Value |
---|---|
AlongDirection |
ViewDirection |
BoundaryFacetTreatmentType |
SnipFacets |
CanDivide |
0 |
IsEditCopy |
0 |
IsSnipNearFacets |
0 |
Created in NX7.5.0.
NXOpen::Facet::SnipFacetBodyBuilder::DirectionType NXOpen::Facet::SnipFacetBodyBuilder::AlongDirection | ( | ) |
Returns the direction in which snipping profiles are projected on the facet bodies
Created in NX7.5.0.
License requirements : None
NXOpen::Facet::SnipFacetBodyBuilder::BoundaryFacetTreatmentMethod NXOpen::Facet::SnipFacetBodyBuilder::BoundaryFacetTreatmentType | ( | ) |
Returns the boundary facet treatment type
Created in NX7.5.0.
License requirements : None
bool NXOpen::Facet::SnipFacetBodyBuilder::CanDivide | ( | ) |
Returns the value indicating if facet body is to be divided
Created in NX7.5.0.
License requirements : None
NXOpen::Facet::SelectFacetedBodyList* NXOpen::Facet::SnipFacetBodyBuilder::FacetBodies | ( | ) |
Returns the facet bodies to snip
Created in NX7.5.0.
License requirements : None
bool NXOpen::Facet::SnipFacetBodyBuilder::IsEditCopy | ( | ) |
Returns the value indicating if a copy of the facet body to be snipped without altering the original
Created in NX7.5.0.
License requirements : None
bool NXOpen::Facet::SnipFacetBodyBuilder::IsSnipNearFacets | ( | ) |
Returns the value indicating if only facets near to the viewer to be snipped
Created in NX7.5.0.
License requirements : None
NXOpen::Plane* NXOpen::Facet::SnipFacetBodyBuilder::Plane | ( | ) |
Returns the snipping plane
Created in NX7.5.0.
License requirements : None
NXOpen::SectionList* NXOpen::Facet::SnipFacetBodyBuilder::ProfileList | ( | ) |
Returns the list of snipping profiles
Created in NX7.5.0.
License requirements : None
NXOpen::Direction* NXOpen::Facet::SnipFacetBodyBuilder::ProjectionVector | ( | ) |
Returns the projection vector
Created in NX7.5.0.
License requirements : None
NXOpen::GeometricUtilities::BoundaryDefinitionBuilderList* NXOpen::Facet::SnipFacetBodyBuilder::RegionList | ( | ) |
Returns the list of regions to snip
Created in NX7.5.0.
License requirements : None
NXOpen::SelectPointList* NXOpen::Facet::SnipFacetBodyBuilder::RegionPoint | ( | ) |
Returns the point indicating the portion of the facet body with respect to specified region to be snipped.
Created in NX7.5.0.
License requirements : None
void NXOpen::Facet::SnipFacetBodyBuilder::SetAlongDirection | ( | NXOpen::Facet::SnipFacetBodyBuilder::DirectionType | alongDirection | ) |
Sets the direction in which snipping profiles are projected on the facet bodies
Created in NX7.5.0.
License requirements : None
alongDirection | alongdirection |
void NXOpen::Facet::SnipFacetBodyBuilder::SetBoundaryFacetTreatmentType | ( | NXOpen::Facet::SnipFacetBodyBuilder::BoundaryFacetTreatmentMethod | boundaryFacetTreatmentType | ) |
Sets the boundary facet treatment type
Created in NX7.5.0.
License requirements : None
boundaryFacetTreatmentType | boundaryfacettreatmenttype |
void NXOpen::Facet::SnipFacetBodyBuilder::SetCanDivide | ( | bool | canDivide | ) |
Sets the value indicating if facet body is to be divided
Created in NX7.5.0.
License requirements : None
canDivide | candivide |
void NXOpen::Facet::SnipFacetBodyBuilder::SetEditCopy | ( | bool | isEditCopy | ) |
Sets the value indicating if a copy of the facet body to be snipped without altering the original
Created in NX7.5.0.
License requirements : None
isEditCopy | iseditcopy |
void NXOpen::Facet::SnipFacetBodyBuilder::SetPlane | ( | NXOpen::Plane * | plane | ) |
Sets the snipping plane
Created in NX7.5.0.
License requirements : None
plane | plane |
void NXOpen::Facet::SnipFacetBodyBuilder::SetProjectionVector | ( | NXOpen::Direction * | projectionVector | ) |
Sets the projection vector
Created in NX7.5.0.
License requirements : None
projectionVector | projectionvector |
void NXOpen::Facet::SnipFacetBodyBuilder::SetSnipNearFacets | ( | bool | isSnipNearFacets | ) |
Sets the value indicating if only facets near to the viewer to be snipped
Created in NX7.5.0.
License requirements : None
isSnipNearFacets | issnipnearfacets |
void NXOpen::Facet::SnipFacetBodyBuilder::SetType | ( | NXOpen::Facet::SnipFacetBodyBuilder::Types | type | ) |
Sets the snipping method accessor
Created in NX7.5.0.
License requirements : None
type | type |
void NXOpen::Facet::SnipFacetBodyBuilder::SetViewDirection | ( | const NXOpen::Vector3d & | viewDirection | ) |
Sets the view direction
Created in NX7.5.0.
License requirements : None
viewDirection | viewdirection |
void NXOpen::Facet::SnipFacetBodyBuilder::SwitchRegion | ( | ) |
Switch the region to be snipped indicated by the region point.
Created in NX7.5.0.
License requirements : None
NXOpen::Facet::SnipFacetBodyBuilder::Types NXOpen::Facet::SnipFacetBodyBuilder::Type | ( | ) |
Returns the snipping method accessor
Created in NX7.5.0.
License requirements : None
NXOpen::Vector3d NXOpen::Facet::SnipFacetBodyBuilder::ViewDirection | ( | ) |
Returns the view direction
Created in NX7.5.0.
License requirements : None