EmbossTarget Class¶
-
class
NXOpen.Features.
EmbossTarget
¶ Bases:
NXOpen.TaggedObject
Represents a target object.
This class provides methods to set and get the target faces, the End-Cap source entity and offset/translation distance value.
Following are default values and options:
**Target Faces</b> User must set it
**End-Cap Faces</b> User must set it when End-Cap source option is face.
**End-Cap Plane</b> User must set it when End-Cap source option is plane.
**End-Cap Translate Direction Flip</b> false
**Target Offset/Translate Distance</b> 2.0/5.0[in/mm]
New in version NX4.0.0.
Properties¶
Property | Description |
---|---|
Distance | Returns the offset/translate distance |
EndcapFace | Returns or sets the face to produce End-Cap |
EndcapPlane | Returns or sets the plane to produce End-Cap |
FlipDirection | Returns or sets the flip flag for translation direction |
Tag | Returns the Tag for this object. |
TargetFace | Returns or sets the target faces on which the emboss places. |
Methods¶
Method | Description |
---|---|
SetDistance | The distance expression formula string for offset or translation |
Property Detail¶
Distance¶
-
EmbossTarget.
Distance
¶ Returns the offset/translate distance
-------------------------------------
Getter Method
Signature
Distance()
Returns: The distance for offset or translation Return type: NXOpen.Expression
New in version NX4.0.0.
License requirements: None.
EndcapFace¶
-
EmbossTarget.
EndcapFace
¶ Returns or sets the face to produce End-Cap
-------------------------------------
Getter Method
Signature
EndcapFace()
Returns: Faces to create End-Cap if End-Cap source option is :py:class:` Features.EmbossLimitEndcapSourceOption.Face < Features.EmbossLimitEndcapSourceOption>` Return type: NXOpen.ScCollector
New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
EndcapFace(endcapFaceCollector)
Parameters: endcapFaceCollector ( NXOpen.ScCollector
) – Faces to create endcap if End-Cap source option is :py:class:` Features.EmbossLimitEndcapSourceOption.Face < Features.EmbossLimitEndcapSourceOption>`New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
EndcapPlane¶
-
EmbossTarget.
EndcapPlane
¶ Returns or sets the plane to produce End-Cap
-------------------------------------
Getter Method
Signature
EndcapPlane()
Returns: Plane to create End-Cap if End-Cap source option is :py:class:` Features.EmbossLimitEndcapSourceOption.Plane < Features.EmbossLimitEndcapSourceOption>` Return type: NXOpen.ISurface
New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
EndcapPlane(endcapPlane)
Parameters: endcapPlane ( NXOpen.ISurface
) – Plane to create End-Cap if End-Cap source option is :py:class:` Features.EmbossLimitEndcapSourceOption.Plane < Features.EmbossLimitEndcapSourceOption>`New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
FlipDirection¶
-
EmbossTarget.
FlipDirection
¶ Returns or sets the flip flag for translation direction
-------------------------------------
Getter Method
Signature
FlipDirection()
Returns: If true, the emboss direction is reversed to the defined translation direction Return type: bool New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
FlipDirection(dirFlip)
Parameters: dirFlip (bool) – If true, the emboss direction is reversed to the defined translation direction New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
TargetFace¶
-
EmbossTarget.
TargetFace
¶ Returns or sets the target faces on which the emboss places.
-------------------------------------
Getter Method
Signature
TargetFace()
Returns: Target faces on which the emboss places. Return type: NXOpen.ScCollector
New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TargetFace(targetFaceCollector)
Parameters: targetFaceCollector ( NXOpen.ScCollector
) – Target faces on which the emboss places.New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Method Detail¶
SetDistance¶
-
EmbossTarget.
SetDistance
¶ The distance expression formula string for offset or translation
Signature
SetDistance(distance)
Parameters: distance (str) – The distance expression formula string for offset or translation NOTE: The full Unicode character set is not supported for this parameter. New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)