NX Open C++ Reference Guide
|
Represents emboss start and end objects, meaning, targets and end-cap definitions. More...
Public Types | |
enum | EndcapMethod { EndcapMethodTranslation, EndcapMethodOffsetExact, EndcapMethodOffsetApproximation, EndcapMethodNone } |
Describes the method that can be applied to the selected geometry to define the End-Cap. More... | |
enum | EndcapSourceOption { EndcapSourceOptionTarget, EndcapSourceOptionPlane, EndcapSourceOptionSection, EndcapSourceOptionFace } |
Describes the geometry that is used to create the End-Cap face/body. More... | |
Public Member Functions | |
NXOpen::Direction * | Direction () |
Returns the direction for translation Created in NX4.0.0. | |
NXOpen::Expression * | Distance () |
Returns the default distance for offset or translation Created in NX4.0.0. | |
NXOpen::Features::EmbossLimit::EndcapMethod | EndcapOption () |
Returns the endcap method to create the End-Cap Created in NX4.0.0. | |
NXOpen::Features::EmbossLimit::EndcapSourceOption | EndcapSource () |
Returns the endcap source option to decide where the End-Cap comes from Created in NX4.0.0. | |
std::vector < NXOpen::Features::EmbossTarget * > | GetTargets () |
The emboss targets. | |
void | SetDirection (NXOpen::Direction *direction) |
Sets the direction for translation Created in NX4.0.0. | |
void | SetDistance (const NXString &distance) |
The default distance expression formula string for offset or translation Created in NX4.0.0. | |
void | SetDistance (const char *distance) |
The default distance expression formula string for offset or translation Created in NX4.0.0. | |
void | SetEndcapOption (NXOpen::Features::EmbossLimit::EndcapMethod endcapOption) |
Sets the endcap method to create the End-Cap Created in NX4.0.0. | |
void | SetEndcapSource (NXOpen::Features::EmbossLimit::EndcapSourceOption endcapSourceOption) |
Sets the endcap source option to decide where the End-Cap comes from Created in NX4.0.0. | |
void | SetTargets (const std::vector< NXOpen::Features::EmbossTarget * > &targets) |
The emboss targets Created in NX4.0.0. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents emboss start and end objects, meaning, targets and end-cap definitions.
<br> This class provides methods to set and get the various emboss limit sub components. <br> <br> Following are default values and options: <br> <br> <b>End-Cap Option</b> @link Features::EmbossLimit::EndcapMethodOffsetExact Features::EmbossLimit::EndcapMethodOffsetExact @endlink <br> <br> <b>End-Cap Source Option</b> @link Features::EmbossLimit::EndcapSourceOptionTarget Features::EmbossLimit::EndcapSourceOptionTarget @endlink <br> <br> <b>Emboss Target</b> (array) EmbossTarget object <br> <br> <b>End-Cap Direction</b> Translate direction <br> <br> <b>Distance</b> (translate or offset) 2.0/5.0[in/mm] <br>
Created in NX4.0.0.
Describes the method that can be applied to the selected geometry to define the End-Cap.
Describes the geometry that is used to create the End-Cap face/body.
EndcapSourceOptionTarget |
Indicates the geometries are some of the faces on the Target Body. Default creation. |
EndcapSourceOptionPlane |
Indicates the geometry is datum plane. |
EndcapSourceOptionSection |
Indicates the geometry is the sketch plane on which the section resides. |
EndcapSourceOptionFace |
Indicates the geometries are selected surfaces not on the target. |
NXOpen::Direction* NXOpen::Features::EmbossLimit::Direction | ( | ) |
Returns the direction for translation
Created in NX4.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::EmbossLimit::Distance | ( | ) |
Returns the default distance for offset or translation
Created in NX4.0.0.
License requirements : None
NXOpen::Features::EmbossLimit::EndcapMethod NXOpen::Features::EmbossLimit::EndcapOption | ( | ) |
Returns the endcap method to create the End-Cap
Created in NX4.0.0.
License requirements : None
NXOpen::Features::EmbossLimit::EndcapSourceOption NXOpen::Features::EmbossLimit::EndcapSource | ( | ) |
Returns the endcap source option to decide where the End-Cap comes from
Created in NX4.0.0.
License requirements : None
std::vector<NXOpen::Features::EmbossTarget *> NXOpen::Features::EmbossLimit::GetTargets | ( | ) |
The emboss targets.
void NXOpen::Features::EmbossLimit::SetDirection | ( | NXOpen::Direction * | direction | ) |
Sets the direction for translation
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
direction | The direction for translation. |
void NXOpen::Features::EmbossLimit::SetDistance | ( | const NXString & | distance | ) |
The default distance expression formula string for offset or translation
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
distance | The default distance expression formula string for offset or translation. |
void NXOpen::Features::EmbossLimit::SetDistance | ( | const char * | distance | ) |
The default distance expression formula string for offset or translation
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
distance | The default distance expression formula string for offset or translation. |
void NXOpen::Features::EmbossLimit::SetEndcapOption | ( | NXOpen::Features::EmbossLimit::EndcapMethod | endcapOption | ) |
Sets the endcap method to create the End-Cap
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
endcapOption | The End-Cap method to create the End-Cap. |
void NXOpen::Features::EmbossLimit::SetEndcapSource | ( | NXOpen::Features::EmbossLimit::EndcapSourceOption | endcapSourceOption | ) |
Sets the endcap source option to decide where the End-Cap comes from
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
endcapSourceOption | The End-Cap source option to decide where the End-Cap comes from. |
void NXOpen::Features::EmbossLimit::SetTargets | ( | const std::vector< NXOpen::Features::EmbossTarget * > & | targets | ) |
The emboss targets
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
targets | Array of EmbossTarget object. In NX4, only one target is supported. |