EmbossTarget Class¶
-
class
NXOpen.Features.EmbossTarget¶ Bases:
NXOpen.TaggedObjectRepresents 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
DistanceReturns: The distance for offset or translation Return type: NXOpen.ExpressionNew in version NX4.0.0.
License requirements: None.
EndcapFace¶
-
EmbossTarget.EndcapFace¶ Returns or sets the face to produce End-Cap
-------------------------------------Getter Method
Signature
EndcapFaceReturns: Faces to create End-Cap if End-Cap source option is :py:class:` Features.EmbossLimitEndcapSourceOption.Face < Features.EmbossLimitEndcapSourceOption>` Return type: NXOpen.ScCollectorNew in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
EndcapFaceParameters: 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
EndcapPlaneReturns: Plane to create End-Cap if End-Cap source option is :py:class:` Features.EmbossLimitEndcapSourceOption.Plane < Features.EmbossLimitEndcapSourceOption>` Return type: NXOpen.ISurfaceNew in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
EndcapPlaneParameters: 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
FlipDirectionReturns: 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
FlipDirectionParameters: 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
TargetFaceReturns: Target faces on which the emboss places. Return type: NXOpen.ScCollectorNew in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TargetFaceParameters: 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 New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)