SketchSectionLineBuilder Class¶
-
class
NXOpen.Drawings.
SketchSectionLineBuilder
¶ Bases:
NXOpen.Builder
Represents a
Drawings.SectionLine
builderTo create a new instance of this class, use
NXOpen.Drawings.SectionLineCollection.CreateSketchSectionLineBuilder
Default values.
Property Value AssociateToSketch 1 FoldedToggle 0 SectionLineType SimpleStepped New in version NX10.0.0.
Properties¶
Property | Description |
---|---|
AssociateToSketch | Returns or sets the associate to sketch |
FoldedToggle | Returns or sets the folded toggle |
ParentView | Returns the parent view |
ReverseDirection | Returns or sets the reverse direction |
SectionLineType | Returns or sets the section line type |
Settings | Returns the settings |
SketchSection | Returns the sketch section |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
Destroy | Deletes the builder, and cleans up any objects created by the builder. |
GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
GetObject | Returns the object currently being edited by this builder. |
SetSketch | Set the sketch |
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
SketchSectionLineBuilderSectionLineTypes Enumeration | Section line type |
Property Detail¶
AssociateToSketch¶
-
SketchSectionLineBuilder.
AssociateToSketch
¶ Returns or sets the associate to sketch
-------------------------------------
Getter Method
Signature
AssociateToSketch()
Returns: Return type: bool New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
AssociateToSketch(associateToSketch)
Parameters: associateToSketch (bool) – New in version NX10.0.0.
License requirements: drafting (“DRAFTING”)
FoldedToggle¶
-
SketchSectionLineBuilder.
FoldedToggle
¶ Returns or sets the folded toggle
-------------------------------------
Getter Method
Signature
FoldedToggle()
Returns: Return type: bool New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
FoldedToggle(foldedToggle)
Parameters: foldedToggle (bool) – New in version NX10.0.0.
License requirements: drafting (“DRAFTING”)
ParentView¶
-
SketchSectionLineBuilder.
ParentView
¶ Returns the parent view
-------------------------------------
Getter Method
Signature
ParentView()
Returns: Return type: NXOpen.Drawings.ParentViewBuilder
New in version NX10.0.0.
License requirements: None.
ReverseDirection¶
-
SketchSectionLineBuilder.
ReverseDirection
¶ Returns or sets the reverse direction
-------------------------------------
Getter Method
Signature
ReverseDirection()
Returns: Return type: bool New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ReverseDirection(reverseDirection)
Parameters: reverseDirection (bool) – New in version NX10.0.0.
License requirements: drafting (“DRAFTING”)
SectionLineType¶
-
SketchSectionLineBuilder.
SectionLineType
¶ Returns or sets the section line type
-------------------------------------
Getter Method
Signature
SectionLineType()
Returns: Return type: NXOpen.Drawings.SketchSectionLineBuilderSectionLineTypes
New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SectionLineType(sectionLineType)
Parameters: sectionLineType ( NXOpen.Drawings.SketchSectionLineBuilderSectionLineTypes
) –New in version NX10.0.0.
License requirements: drafting (“DRAFTING”)
Settings¶
-
SketchSectionLineBuilder.
Settings
¶ Returns the settings
-------------------------------------
Getter Method
Signature
Settings()
Returns: Return type: NXOpen.Drawings.SectionLineSettingsBuilder
New in version NX10.0.0.
License requirements: None.
SketchSection¶
-
SketchSectionLineBuilder.
SketchSection
¶ Returns the sketch section
-------------------------------------
Getter Method
Signature
SketchSection()
Returns: Return type: NXOpen.Section
New in version NX10.0.0.
License requirements: None.
Method Detail¶
SetSketch¶
-
SketchSectionLineBuilder.
SetSketch
¶ Set the sketch
Signature
SetSketch(sketch)
Parameters: sketch ( NXOpen.Sketch
) – the sketch which created or selectedNew in version NX10.0.0.
License requirements: drafting (“DRAFTING”)
Validate¶
-
SketchSectionLineBuilder.
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.