EmbossLimit Class¶
-
class
NXOpen.Features.EmbossLimit¶ Bases:
NXOpen.TaggedObjectRepresents emboss start and end objects, meaning, targets and end-cap definitions.
This class provides methods to set and get the various emboss limit sub components.
Following are default values and options:
**End-Cap Option</b> :py:class:` Features.EmbossLimitEndcapMethod.OffsetExact < Features.EmbossLimitEndcapMethod>`
**End-Cap Source Option</b> :py:class:` Features.EmbossLimitEndcapSourceOption.Target < Features.EmbossLimitEndcapSourceOption>`
**Emboss Target</b> (array) EmbossTarget object
**End-Cap Direction</b> Translate direction
**Distance</b> (translate or offset) 2.0/5.0[in/mm]
New in version NX4.0.0.
Properties¶
| Property | Description |
|---|---|
| Direction | Returns or sets the direction for translation |
| Distance | Returns the default distance for offset or translation |
| EndcapOption | Returns or sets the endcap method to create the End-Cap |
| EndcapSource | Returns or sets the endcap source option to decide where the End-Cap comes from |
| Tag | Returns the Tag for this object. |
Methods¶
| Method | Description |
|---|---|
| GetTargets | The emboss targets |
| SetDistance | The default distance expression formula string for offset or translation |
| SetTargets | The emboss targets |
Enumerations¶
| EmbossLimitEndcapMethod Enumeration | Describes the method that can be applied to the selected geometry to define the End-Cap. |
| EmbossLimitEndcapSourceOption Enumeration | Describes the geometry that is used to create the End-Cap face/body. |
Property Detail¶
Direction¶
-
EmbossLimit.Direction¶ Returns or sets the direction for translation
-------------------------------------Getter Method
Signature
DirectionReturns: The direction for translation. Return type: NXOpen.DirectionNew in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DirectionParameters: direction ( NXOpen.Direction) – The direction for translation.New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Distance¶
-
EmbossLimit.Distance¶ Returns the default distance for offset or translation
-------------------------------------Getter Method
Signature
DistanceReturns: The default distance for offset or translation. Return type: NXOpen.ExpressionNew in version NX4.0.0.
License requirements: None.
EndcapOption¶
-
EmbossLimit.EndcapOption¶ Returns or sets the endcap method to create the End-Cap
-------------------------------------Getter Method
Signature
EndcapOptionReturns: The End-Cap method to create the End-Cap. Return type: NXOpen.Features.EmbossLimitEndcapMethodNew in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
EndcapOptionParameters: endcapOption ( NXOpen.Features.EmbossLimitEndcapMethod) – The End-Cap method to create the End-Cap.New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
EndcapSource¶
-
EmbossLimit.EndcapSource¶ Returns or sets the endcap source option to decide where the End-Cap comes from
-------------------------------------Getter Method
Signature
EndcapSourceReturns: The End-Cap source option to decide where the End-Cap comes from. Return type: NXOpen.Features.EmbossLimitEndcapSourceOptionNew in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
EndcapSourceParameters: endcapSourceOption ( NXOpen.Features.EmbossLimitEndcapSourceOption) – The End-Cap source option to decide where the End-Cap comes from.New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Method Detail¶
GetTargets¶
-
EmbossLimit.GetTargets¶ The emboss targets
Signature
GetTargets()Returns: Array of EmbossTarget object. In NX4, only one target is supported. Return type: list of NXOpen.Features.EmbossTargetNew in version NX4.0.0.
License requirements: None.
SetDistance¶
-
EmbossLimit.SetDistance¶ The default distance expression formula string for offset or translation
Signature
SetDistance(distance)Parameters: distance (str) – The default distance expression formula string for offset or translation. New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
SetTargets¶
-
EmbossLimit.SetTargets¶ The emboss targets
Signature
SetTargets(targets)Parameters: targets (list of NXOpen.Features.EmbossTarget) – Array of EmbossTarget object. In NX4, only one target is supported.New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)