NXOpen C++ Reference Guide
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | Public Member Functions | List of all members
NXOpen::Facet::SmoothFacetBodyBuilder Class Reference

Represents a NXOpen::Facet::SmoothFacetBodyBuilder . More...

Inheritance diagram for NXOpen::Facet::SmoothFacetBodyBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  Types { TypesMesh, TypesEdge }
 Smooth Options. More...
 

Public Member Functions

NXOpen::SelectDisplayableObjectListBodies ()
 Returns the facet bodies to be smoothed. More...
 
NXOpen::SelectNXObjectListFaceEdge ()
 Returns the option indicating if a copy of the facet body will be smoothed without altering the original
Created in NX12.0.2. More...
 
NXOpen::Facet::SelectFacetedBodyListFacetBodies ()
 Returns the facet bodies to be smoothed
More...
 
NXOpen::FacetCollectorFacetCollector ()
 Returns a collector of facets on the facet bodies to be to be smoothed. More...
 
bool IsEditCopy ()
 Returns the option indicating if a copy of the facet body will be smoothed without altering the original
Created in NX7.5.0. More...
 
bool IsLockBoundary ()
 Returns the option indicating if the open edges of inner and outer loops in the facet bodies are to be kept intact
Created in NX7.5.0. More...
 
bool IsSmoothOverEdges ()
 Returns an option to apply the smooth operator across face edges
Created in NX12.0.2. More...
 
int ModifyPercent ()
 Returns the modification percentage
More...
 
int NumberOfIterations ()
 Returns the number of iterations
Created in NX12.0.2. More...
 
NXOpen::GeometricUtilities::BoundaryDefinitionBuilderListRegionList ()
 Returns an optional list of regions on the facet bodies to be smoothed
More...
 
void SetEditCopy (bool isEditCopy)
 Sets the option indicating if a copy of the facet body will be smoothed without altering the original
Created in NX7.5.0. More...
 
void SetFacetCollector (NXOpen::FacetCollector *collector)
 Sets a collector of facets on the facet bodies to be to be smoothed. More...
 
void SetLockBoundary (bool isLockBoundary)
 Sets the option indicating if the open edges of inner and outer loops in the facet bodies are to be kept intact
Created in NX7.5.0. More...
 
void SetModifyPercent (int modifyPercent)
 Sets the modification percentage
More...
 
void SetNumberOfIterations (int numberOfIterations)
 Sets the number of iterations
Created in NX12.0.2. More...
 
void SetSmoothFactor (int smoothFactor)
 Sets the smoothing factor
Created in NX7.5.0. More...
 
void SetSmoothOverEdges (bool isSmoothOverEdges)
 Sets an option to apply the smooth operator across face edges
Created in NX12.0.2. More...
 
void SetType (NXOpen::Facet::SmoothFacetBodyBuilder::Types type)
 Sets the type
Created in NX12.0.2. More...
 
int SmoothFactor ()
 Returns the smoothing factor
Created in NX7.5.0. More...
 
NXOpen::Facet::SmoothFacetBodyBuilder::Types Type ()
 Returns the type
Created in NX12.0.2. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 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::NXObjectGetObject ()
 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...
 

Detailed Description

Represents a NXOpen::Facet::SmoothFacetBodyBuilder .

Smooth Facet Body Builder is a function to facilitate the removal of noise from facet bodies while keeping the general shape in tact.
To create a new instance of this class, use NXOpen::Facet::FacetedBodyCollection::CreateSmoothFacetBodyBuilder
Default values.

Property Value

IsEditCopy

0

IsLockBoundary

0

IsSmoothOverEdges

1

NumberOfIterations

1

SmoothFactor

10


Created in NX7.5.0.

Member Enumeration Documentation

Smooth Options.

Enumerator
TypesMesh 

mesh

TypesEdge 

edge

Member Function Documentation

NXOpen::SelectDisplayableObjectList* NXOpen::Facet::SmoothFacetBodyBuilder::Bodies ( )

Returns the facet bodies to be smoothed.

Inputs to this command can be convergent objects.

Deprecated:
Deprecated in NX12.0.0. Use NXOpen::Facet::SmoothFacetBodyBuilder::FacetCollector instead.


Created in NX11.0.0.

License requirements : None

NXOpen::SelectNXObjectList* NXOpen::Facet::SmoothFacetBodyBuilder::FaceEdge ( )

Returns the option indicating if a copy of the facet body will be smoothed without altering the original
Created in NX12.0.2.



License requirements : None

NXOpen::Facet::SelectFacetedBodyList* NXOpen::Facet::SmoothFacetBodyBuilder::FacetBodies ( )

Returns the facet bodies to be smoothed

Deprecated:
Deprecated in NX11.0.0.

Use NXOpen::Facet::SmoothFacetBodyBuilder::Bodies instead.


Created in NX7.5.0.

License requirements : None

NXOpen::FacetCollector* NXOpen::Facet::SmoothFacetBodyBuilder::FacetCollector ( )

Returns a collector of facets on the facet bodies to be to be smoothed.


Created in NX12.0.0.

License requirements : None

bool NXOpen::Facet::SmoothFacetBodyBuilder::IsEditCopy ( )

Returns the option indicating if a copy of the facet body will be smoothed without altering the original
Created in NX7.5.0.



License requirements : None

bool NXOpen::Facet::SmoothFacetBodyBuilder::IsLockBoundary ( )

Returns the option indicating if the open edges of inner and outer loops in the facet bodies are to be kept intact
Created in NX7.5.0.



License requirements : None

bool NXOpen::Facet::SmoothFacetBodyBuilder::IsSmoothOverEdges ( )

Returns an option to apply the smooth operator across face edges
Created in NX12.0.2.



License requirements : None

int NXOpen::Facet::SmoothFacetBodyBuilder::ModifyPercent ( )

Returns the modification percentage

Deprecated:
Deprecated in NX12.0.2.

This attribute is not very effective, hence this has been deprecated.


Created in NX7.5.0.

License requirements : None

int NXOpen::Facet::SmoothFacetBodyBuilder::NumberOfIterations ( )

Returns the number of iterations
Created in NX12.0.2.



License requirements : None

NXOpen::GeometricUtilities::BoundaryDefinitionBuilderList* NXOpen::Facet::SmoothFacetBodyBuilder::RegionList ( )

Returns an optional list of regions on the facet bodies to be smoothed

Deprecated:
Deprecated in NX12.0.0.

Use NXOpen::Facet::SmoothFacetBodyBuilder::FacetCollector instead.


Created in NX7.5.0.

License requirements : None

void NXOpen::Facet::SmoothFacetBodyBuilder::SetEditCopy ( bool  isEditCopy)

Sets the option indicating if a copy of the facet body will be smoothed without altering the original
Created in NX7.5.0.



License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
isEditCopyiseditcopy
void NXOpen::Facet::SmoothFacetBodyBuilder::SetFacetCollector ( NXOpen::FacetCollector collector)

Sets a collector of facets on the facet bodies to be to be smoothed.


Created in NX12.0.0.

License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
collectorcollector
void NXOpen::Facet::SmoothFacetBodyBuilder::SetLockBoundary ( bool  isLockBoundary)

Sets the option indicating if the open edges of inner and outer loops in the facet bodies are to be kept intact
Created in NX7.5.0.



License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
isLockBoundaryislockboundary
void NXOpen::Facet::SmoothFacetBodyBuilder::SetModifyPercent ( int  modifyPercent)

Sets the modification percentage

Deprecated:
Deprecated in NX12.0.2.

This attribute is not very effective, hence this has been deprecated.


Created in NX7.5.0.

License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
modifyPercentmodifypercent
void NXOpen::Facet::SmoothFacetBodyBuilder::SetNumberOfIterations ( int  numberOfIterations)

Sets the number of iterations
Created in NX12.0.2.



License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
numberOfIterationsnumberofiterations
void NXOpen::Facet::SmoothFacetBodyBuilder::SetSmoothFactor ( int  smoothFactor)

Sets the smoothing factor
Created in NX7.5.0.



License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
smoothFactorsmoothfactor
void NXOpen::Facet::SmoothFacetBodyBuilder::SetSmoothOverEdges ( bool  isSmoothOverEdges)

Sets an option to apply the smooth operator across face edges
Created in NX12.0.2.



License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
isSmoothOverEdgesissmoothoveredges
void NXOpen::Facet::SmoothFacetBodyBuilder::SetType ( NXOpen::Facet::SmoothFacetBodyBuilder::Types  type)

Sets the type
Created in NX12.0.2.



License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters
typetype
int NXOpen::Facet::SmoothFacetBodyBuilder::SmoothFactor ( )

Returns the smoothing factor
Created in NX7.5.0.



License requirements : None

NXOpen::Facet::SmoothFacetBodyBuilder::Types NXOpen::Facet::SmoothFacetBodyBuilder::Type ( )

Returns the type
Created in NX12.0.2.



License requirements : None


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