HatchFillSettingsBuilder Class¶
-
class
NXOpen.Annotations.
HatchFillSettingsBuilder
¶ Bases:
NXOpen.TaggedObject
,NXOpen.GeometricUtilities.IComponentBuilder
This 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
Angle
Returns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Angle
Parameters: 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
AnnotationType
Returns: Return type: NXOpen.Annotations.HatchFillSettingsBuilderAnnotationTypes
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
AnnotationType
Parameters: 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
ApplyToAllFromSameComp
Returns: Return type: bool New in version NX11.0.1.
License requirements: None.
-------------------------------------
Setter Method
Signature
ApplyToAllFromSameComp
Parameters: applyOnAllView (bool) – New in version NX11.0.1.
License requirements: drafting (“DRAFTING”)
AreafillAngle¶
-
HatchFillSettingsBuilder.
AreafillAngle
¶ Returns or sets the areafill angle
-------------------------------------
Getter Method
Signature
AreafillAngle
Returns: Return type: float New in version NX6.0.1.
License requirements: None.
-------------------------------------
Setter Method
Signature
AreafillAngle
Parameters: angle (float) – New in version NX6.0.1.
License requirements: drafting (“DRAFTING”)
Color¶
-
HatchFillSettingsBuilder.
Color
¶ Returns or sets the color
-------------------------------------
Getter Method
Signature
Color
Returns: Return type: Id New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Color
Parameters: color (Id) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
CrosshatchFile¶
-
HatchFillSettingsBuilder.
CrosshatchFile
¶ Returns or sets the crosshatch file
-------------------------------------
Getter Method
Signature
CrosshatchFile
Returns: Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
CrosshatchFile
Parameters: filename (str) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
Distance¶
-
HatchFillSettingsBuilder.
Distance
¶ Returns or sets the distance
-------------------------------------
Getter Method
Signature
Distance
Returns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Distance
Parameters: 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
Material
Returns: Return type: NXOpen.Annotations.AreaFillMaterial
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Material
Parameters: 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
Pattern
Returns: Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Pattern
Parameters: identifier (str) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
Scale¶
-
HatchFillSettingsBuilder.
Scale
¶ Returns or sets the scale
-------------------------------------
Getter Method
Signature
Scale
Returns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Scale
Parameters: scale (float) – New in version NX6.0.0.
License requirements: drafting (“DRAFTING”)
Tolerance¶
-
HatchFillSettingsBuilder.
Tolerance
¶ Returns or sets the tolerance
-------------------------------------
Getter Method
Signature
Tolerance
Returns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Tolerance
Parameters: tolerance (float) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
Width¶
-
HatchFillSettingsBuilder.
Width
¶ Returns or sets the width
-------------------------------------
Getter Method
Signature
Width
Returns: Return type: NXOpen.Annotations.LineWidth
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Width
Parameters: 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.