IssueContentBuilder Class¶
-
class
NXOpen.Issue.IssueContentBuilder¶ Bases:
NXOpen.BuilderRepresents a
NXOpen.Issue.IssueContentbuilderTo 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
AssignedUserReturns: Return type: str New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
-------------------------------------Setter Method
Signature
AssignedUserParameters: 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
CommentReturns: Return type: str New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
-------------------------------------Setter Method
Signature
CommentParameters: 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
DueDateReturns: Return type: str New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
-------------------------------------Setter Method
Signature
DueDateParameters: 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
PriorityReturns: Return type: str New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
-------------------------------------Setter Method
Signature
PriorityParameters: 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
StatusReturns: Return type: str New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
-------------------------------------Setter Method
Signature
StatusParameters: 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
TitleReturns: Return type: str New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
-------------------------------------Setter Method
Signature
TitleParameters: 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.IssueAttachmentSignature
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.IssueAttachmentNew in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
GetAttachment¶
-
IssueContentBuilder.GetAttachment¶ Returns the
NXOpen.Issue.IssueAttachmentwith this attachment nameSignature
GetAttachment(attachmentName)Parameters: attachmentName (str) – Returns: Return type: NXOpen.Issue.IssueAttachmentNew 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.IssuePropertyNew in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
GetPropertyValue¶
-
IssueContentBuilder.GetPropertyValue¶ Returns the value of
NXOpen.Issue.IssuePropertySignature
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.IssueAttachmentSignature
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.IssuePropertySignature
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.