IssueContentBuilder Class¶
-
class
NXOpen.Issue.
IssueContentBuilder
¶ Bases:
NXOpen.Builder
Represents a
NXOpen.Issue.IssueContent
builderTo create a new instance of this class, use
NXOpen.Issue.IssueManager.CreateIssueContentBuilder()
Default values.
Property Value Title New Issue New in version NX8.5.0.
Properties¶
Property | Description |
---|---|
AssignedUser | Returns or sets the assigned user |
Comment | Returns or sets the issue comment |
DueDate | Returns or sets the due date |
Priority | Returns or sets the issue priority |
Status | Returns or sets the issue status |
Tag | Returns the Tag for this object. |
Title | Returns or sets the issue title |
Methods¶
Method | Description |
---|---|
AddAttachment | Adds an NXOpen.Issue.IssueAttachment |
Commit | Commits any edits that have been applied to the builder. |
Destroy | Deletes the builder, and cleans up any objects created by the builder. |
GetAllAttachments | Returns all the :py:class:`NXOpen.Issue.IssueAttachment`s |
GetAttachment | Returns the NXOpen.Issue.IssueAttachment with this attachment name |
GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
GetEditableUserProperties | Returns the editable user defined :py:class:`NXOpen.Issue.IssueProperty`s |
GetObject | Returns the object currently being edited by this builder. |
GetPropertyValue | Returns the value of NXOpen.Issue.IssueProperty |
RemoveAttachment | Removes an NXOpen.Issue.IssueAttachment |
SetPreviewImage | Sets preview image |
SetPropertyValue | Sets the value of NXOpen.Issue.IssueProperty |
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. |
Property Detail¶
AssignedUser¶
-
IssueContentBuilder.
AssignedUser
¶ Returns or sets the assigned user
-------------------------------------
Getter Method
Signature
AssignedUser
Returns: Return type: str New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
-------------------------------------
Setter Method
Signature
AssignedUser
Parameters: assignedUser (str) – New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
Comment¶
-
IssueContentBuilder.
Comment
¶ Returns or sets the issue comment
-------------------------------------
Getter Method
Signature
Comment
Returns: Return type: str New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
-------------------------------------
Setter Method
Signature
Comment
Parameters: comment (str) – New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
DueDate¶
-
IssueContentBuilder.
DueDate
¶ Returns or sets the due date
-------------------------------------
Getter Method
Signature
DueDate
Returns: Return type: str New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
-------------------------------------
Setter Method
Signature
DueDate
Parameters: dueDate (str) – New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
Priority¶
-
IssueContentBuilder.
Priority
¶ Returns or sets the issue priority
-------------------------------------
Getter Method
Signature
Priority
Returns: Return type: str New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
-------------------------------------
Setter Method
Signature
Priority
Parameters: priority (str) – New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
Status¶
-
IssueContentBuilder.
Status
¶ Returns or sets the issue status
-------------------------------------
Getter Method
Signature
Status
Returns: Return type: str New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
-------------------------------------
Setter Method
Signature
Status
Parameters: status (str) – New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
Title¶
-
IssueContentBuilder.
Title
¶ Returns or sets the issue title
-------------------------------------
Getter Method
Signature
Title
Returns: Return type: str New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
-------------------------------------
Setter Method
Signature
Title
Parameters: title (str) – New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
Method Detail¶
AddAttachment¶
-
IssueContentBuilder.
AddAttachment
¶ Adds an
NXOpen.Issue.IssueAttachment
Signature
AddAttachment(attachment)
Parameters: attachment ( NXOpen.Issue.IssueAttachment
) –New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
GetAllAttachments¶
-
IssueContentBuilder.
GetAllAttachments
¶ Returns all the :py:class:`NXOpen.Issue.IssueAttachment`s
Signature
GetAllAttachments()
Returns: Return type: list of NXOpen.Issue.IssueAttachment
New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
GetAttachment¶
-
IssueContentBuilder.
GetAttachment
¶ Returns the
NXOpen.Issue.IssueAttachment
with this attachment nameSignature
GetAttachment(attachmentName)
Parameters: attachmentName (str) – Returns: Return type: NXOpen.Issue.IssueAttachment
New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
GetEditableUserProperties¶
-
IssueContentBuilder.
GetEditableUserProperties
¶ Returns the editable user defined :py:class:`NXOpen.Issue.IssueProperty`s
Signature
GetEditableUserProperties()
Returns: Return type: list of NXOpen.Issue.IssueProperty
New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
GetPropertyValue¶
-
IssueContentBuilder.
GetPropertyValue
¶ Returns the value of
NXOpen.Issue.IssueProperty
Signature
GetPropertyValue(propertyName)
Parameters: propertyName (str) – Returns: Return type: str New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
RemoveAttachment¶
-
IssueContentBuilder.
RemoveAttachment
¶ Removes an
NXOpen.Issue.IssueAttachment
Signature
RemoveAttachment(attachment)
Parameters: attachment ( NXOpen.Issue.IssueAttachment
) –New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
SetPreviewImage¶
-
IssueContentBuilder.
SetPreviewImage
¶ Sets preview image
Signature
SetPreviewImage(attachment)
Parameters: attachment ( NXOpen.Issue.IssueAttachment
) –New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
SetPropertyValue¶
-
IssueContentBuilder.
SetPropertyValue
¶ Sets the value of
NXOpen.Issue.IssueProperty
Signature
SetPropertyValue(propertyName, propertyValue)
Parameters: - propertyName (str) –
- propertyValue (str) –
New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
Validate¶
-
IssueContentBuilder.
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.