HatchFillSettingsBuilder Class¶
-
class
NXOpen.Annotations.HatchFillSettingsBuilder¶ Bases:
NXOpen.TaggedObject,NXOpen.GeometricUtilities.IComponentBuilderThis class is used to construct the Crosshatch and area Fill setting block .
New in version NX7.5.0.
Properties¶
| Property | Description |
|---|---|
| Angle | Returns or sets the angle |
| AnnotationType | Returns or sets the type of hatch object |
| ApplyToAllFromSameComp | Returns or sets the state to set this crosshatch settings to all same component crosshatches. |
| AreafillAngle | Returns or sets the areafill angle |
| Color | Returns or sets the color |
| CrosshatchFile | Returns or sets the crosshatch file |
| Distance | Returns or sets the distance |
| Material | Returns or sets the area fill material |
| Pattern | Returns or sets the pattern |
| Scale | Returns or sets the scale |
| Tag | Returns the Tag for this object. |
| Tolerance | Returns or sets the tolerance |
| Width | Returns or sets the width |
Methods¶
| Method | Description |
|---|---|
| FindCrosshatchFile | Finds the crosshatch file from pattern. |
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
| HatchFillSettingsBuilderAnnotationTypes Enumeration | the valid types of hatch objects |
Property Detail¶
Angle¶
-
HatchFillSettingsBuilder.Angle¶ Returns or sets the angle
-------------------------------------Getter Method
Signature
AngleReturns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AngleParameters: angle (float) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
AnnotationType¶
-
HatchFillSettingsBuilder.AnnotationType¶ Returns or sets the type of hatch object
-------------------------------------Getter Method
Signature
AnnotationTypeReturns: Return type: NXOpen.Annotations.HatchFillSettingsBuilderAnnotationTypesNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AnnotationTypeParameters: type ( NXOpen.Annotations.HatchFillSettingsBuilderAnnotationTypes) –New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
ApplyToAllFromSameComp¶
-
HatchFillSettingsBuilder.ApplyToAllFromSameComp¶ Returns or sets the state to set this crosshatch settings to all same component crosshatches.
If true, it applies crosshatch settings on all of the current cut faces from the same component in all section views. If false, it applies crosshatch settings on selected crosshatch.
-------------------------------------Getter Method
Signature
ApplyToAllFromSameCompReturns: Return type: bool New in version NX11.0.1.
License requirements: None.
-------------------------------------Setter Method
Signature
ApplyToAllFromSameCompParameters: applyOnAllView (bool) – New in version NX11.0.1.
License requirements: drafting (“DRAFTING”)
AreafillAngle¶
-
HatchFillSettingsBuilder.AreafillAngle¶ Returns or sets the areafill angle
-------------------------------------Getter Method
Signature
AreafillAngleReturns: Return type: float New in version NX6.0.1.
License requirements: None.
-------------------------------------Setter Method
Signature
AreafillAngleParameters: angle (float) – New in version NX6.0.1.
License requirements: drafting (“DRAFTING”)
Color¶
-
HatchFillSettingsBuilder.Color¶ Returns or sets the color
-------------------------------------Getter Method
Signature
ColorReturns: Return type: Id New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ColorParameters: color (Id) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
CrosshatchFile¶
-
HatchFillSettingsBuilder.CrosshatchFile¶ Returns or sets the crosshatch file
-------------------------------------Getter Method
Signature
CrosshatchFileReturns: Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CrosshatchFileParameters: filename (str) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
Distance¶
-
HatchFillSettingsBuilder.Distance¶ Returns or sets the distance
-------------------------------------Getter Method
Signature
DistanceReturns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DistanceParameters: distance (float) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
Material¶
-
HatchFillSettingsBuilder.Material¶ Returns or sets the area fill material
-------------------------------------Getter Method
Signature
MaterialReturns: Return type: NXOpen.Annotations.AreaFillMaterialNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MaterialParameters: areaFillMaterial ( NXOpen.Annotations.AreaFillMaterial) –New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
Pattern¶
-
HatchFillSettingsBuilder.Pattern¶ Returns or sets the pattern
-------------------------------------Getter Method
Signature
PatternReturns: Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
PatternParameters: identifier (str) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
Scale¶
-
HatchFillSettingsBuilder.Scale¶ Returns or sets the scale
-------------------------------------Getter Method
Signature
ScaleReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ScaleParameters: scale (float) – New in version NX6.0.0.
License requirements: drafting (“DRAFTING”)
Tolerance¶
-
HatchFillSettingsBuilder.Tolerance¶ Returns or sets the tolerance
-------------------------------------Getter Method
Signature
ToleranceReturns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ToleranceParameters: tolerance (float) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
Width¶
-
HatchFillSettingsBuilder.Width¶ Returns or sets the width
-------------------------------------Getter Method
Signature
WidthReturns: Return type: NXOpen.Annotations.LineWidthNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
WidthParameters: width ( NXOpen.Annotations.LineWidth) –New in version NX6.0.0.
License requirements: drafting (“DRAFTING”)
Method Detail¶
FindCrosshatchFile¶
-
HatchFillSettingsBuilder.FindCrosshatchFile¶ Finds the crosshatch file from pattern.
May be blank if not found
Signature
FindCrosshatchFile(identifier)Parameters: identifier (str) – Returns: Return type: str New in version NX8.5.0.
License requirements: None.
Validate¶
-
HatchFillSettingsBuilder.Validate¶ Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.
Signature
Validate()Returns: Was self validation successful Return type: bool New in version NX3.0.1.
License requirements: None.