IssueContent Class¶
-
class
NXOpen.Issue.
IssueContent
¶ Bases:
NXOpen.NXObject
Represents the Issue Issue object.
To create a new instance of this class, use
NXOpen.Issue.IssueManager.CreateIssueContent()
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 |
IsLocked | Returns the lock state |
IsOccurrence | Returns whether this object is an occurrence or not. |
IssueId | Returns the issue id |
JournalIdentifier | Returns the identifier that would be recorded in a journal for this object. |
Name | Returns the custom name of the object. |
OwningComponent | Returns the owning component, if this object is an occurrence. |
OwningPart | Returns the owning part of this object |
PreviewImage | Returns or sets the preview image |
Priority | Returns or sets the issue priority |
Prototype | Returns the prototype of this object if it is an occurrence. |
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 |
Close | Closes the issue |
CreateAttributeIterator | Create an attribute iterator |
DeleteAllAttributesByType | Deletes all attributes of a specific type. |
DeleteAttributeByTypeAndTitle | Deletes an attribute by type and title. |
DeleteUserAttribute | Deletes the first attribute encountered with the given Type, Title. |
DeleteUserAttributes | Deletes the attributes on the object, if any, that satisfy the given iterator |
DiscardIssue | Discards the newly created issue which has not saved in external db yet |
FindObject | Finds the NXOpen.NXObject with the given identifier as recorded in a journal. |
GetAllAttachments | Returns all the :py:class:`NXOpen.Issue.IssueAttachment`s |
GetAttachment | Returns the NXOpen.Issue.IssueAttachment with this attachment name |
GetAttributeTitlesByType | Gets all the attribute titles of a specific type. |
GetBooleanUserAttribute | Gets a boolean attribute by Title and array Index. |
GetChildAttachments | Returns the child :py:class:`NXOpen.Issue.IssueAttachment`s |
GetComputationalTimeUserAttribute | Gets a time attribute by Title and array Index. |
GetFolders | Returns all the child :py:class:`NXOpen.Issue.IssueFolder`s |
GetIntegerAttribute | Gets an integer attribute by title. |
GetIntegerUserAttribute | Gets an integer attribute by Title and array Index. |
GetNextUserAttribute | Gets the next attribute encountered on the object, if any, that satisfies the given iterator. |
GetPartAttachment | Returns the NXOpen.Issue.IssueAttachment with part type |
GetPdmReferenceAttributeValue | Gets the value of PDM Reference attribute for given object. |
GetProperty | Returns the NXOpen.Issue.IssueProperty with this property name |
GetPropertyValue | Returns the value of NXOpen.Issue.IssueProperty |
GetRealAttribute | Gets a real attribute by title. |
GetRealUserAttribute | Gets a real attribute by Title and array Index. |
GetReferenceAttribute | Gets the reference string (not the calculated value) of a string attribute that uses a reference string. |
GetStringAttribute | Gets a string attribute value by title. |
GetStringUserAttribute | Gets a string attribute by Title and array Index. |
GetTimeAttribute | Gets a time attribute by title. |
GetTimeUserAttribute | Gets a time attribute by Title and array Index. |
GetUserAttribute | Gets the first attribute encountered on the object, if any, with a given Title, Type and array Index. |
GetUserAttributeAsString | Gets the first attribute encountered on the object, if any, with a given title, type and array index. |
GetUserAttributeCount | Gets the count of set attributes on the object, if any, that satisfy the given iterator. |
GetUserAttributeLock | Determine the lock of the given attribute. |
GetUserAttributeSize | Gets the size of the first attribute encountered on the object, if any, with a given Title and Type. |
GetUserAttributeSourceObjects | Returns an array of objects from which this object presents attributes. |
GetUserAttributes | Gets all the attributes that have been set on the given object, if any, that satisfy the given iterator. |
GetUserAttributesAsStrings | Gets all the attributes that have been set on the given object. |
GetUserProperties | Returns the user definded :py:class:`NXOpen.Issue.IssueProperty`s |
HasUserAttribute | Determines if an attribute exists on the object, that satisfies the given iterator |
IsCheckedOut | Returns whether the issue is checked out |
IsClosed | Returns whether the issue is closed |
IsReadOnly | Returns whether the issue is read only |
LoadAttachments | Loads the :py:class:`NXOpen.Issue.IssueAttachment`s |
Prints a representation of this object to the system log file. | |
ReloadProperties | Reloads all the :py:class:`NXOpen.Issue.IssueProperty`s |
RemoveAttachment | Removes an NXOpen.Issue.IssueAttachment |
Review | Signs off the current workflow task with decision |
SaveChanges | Saves the changes to issue server |
SendToWorkflow | Sends the issue to workflow process |
SetAttribute | Creates or modifies an integer attribute. |
SetBooleanUserAttribute | Creates or modifies a boolean attribute with the option to update or not. |
SetName | Sets the custom name of the object. |
SetPdmReferenceAttribute | Sets the value of PDM Reference attribute on the object. |
SetPropertyValue | Sets the value of NXOpen.Issue.IssueProperty |
SetReferenceAttribute | Creates or modifies a string attribute which uses a reference string. |
SetTimeAttribute | Creates or modifies a time attribute. |
SetTimeUserAttribute | Creates or modifies a time attribute with the option to update or not. |
SetUserAttribute | Creates or modifies an attribute with the option to update or not. |
SetUserAttributeLock | Lock or unlock the given attribute. |
Property Detail¶
AssignedUser¶
-
IssueContent.
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¶
-
IssueContent.
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¶
-
IssueContent.
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”)
IsLocked¶
-
IssueContent.
IsLocked
¶ Returns the lock state
-------------------------------------
Getter Method
Signature
IsLocked
Returns: Return type: bool New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
IsOccurrence¶
-
IssueContent.
IsOccurrence
¶ Returns whether this object is an occurrence or not.
-------------------------------------
Getter Method
Signature
IsOccurrence
Returns: This object is an occurrence Return type: bool New in version NX3.0.0.
License requirements: None.
IssueId¶
-
IssueContent.
IssueId
¶ Returns the issue id
-------------------------------------
Getter Method
Signature
IssueId
Returns: Return type: str New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
JournalIdentifier¶
-
IssueContent.
JournalIdentifier
¶ Returns the identifier that would be recorded in a journal for this object.
This may not be the same across different releases of the software.
-------------------------------------
Getter Method
Signature
JournalIdentifier
Returns: Return type: str New in version NX3.0.0.
License requirements: None.
Name¶
-
IssueContent.
Name
¶ Returns the custom name of the object.
-------------------------------------
Getter Method
Signature
Name
Returns: Return type: str New in version NX3.0.0.
License requirements: None.
OwningComponent¶
-
IssueContent.
OwningComponent
¶ Returns the owning component, if this object is an occurrence.
-------------------------------------
Getter Method
Signature
OwningComponent
Returns: Return type: NXOpen.Assemblies.Component
New in version NX3.0.0.
License requirements: None.
OwningPart¶
-
IssueContent.
OwningPart
¶ Returns the owning part of this object
-------------------------------------
Getter Method
Signature
OwningPart
Returns: The owning part of this object or null if it does not have an owner Return type: NXOpen.BasePart
New in version NX3.0.0.
License requirements: None.
PreviewImage¶
-
IssueContent.
PreviewImage
¶ Returns or sets the preview image
-------------------------------------
Getter Method
Signature
PreviewImage
Returns: Return type: NXOpen.Issue.IssueAttachment
New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
-------------------------------------
Setter Method
Signature
PreviewImage
Parameters: previewImage ( NXOpen.Issue.IssueAttachment
) –New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
Priority¶
-
IssueContent.
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”)
Prototype¶
-
IssueContent.
Prototype
¶ Returns the prototype of this object if it is an occurrence.
-------------------------------------
Getter Method
Signature
Prototype
Returns: The prototype of this object or null if this object is not an occurrence Return type: NXOpen.INXObject
New in version NX3.0.0.
License requirements: None.
Status¶
-
IssueContent.
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¶
-
IssueContent.
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¶
-
IssueContent.
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”)
Close¶
-
IssueContent.
Close
¶ Closes the issue
Signature
Close(coseNote)
Parameters: coseNote (str) – New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
DiscardIssue¶
-
IssueContent.
DiscardIssue
¶ Discards the newly created issue which has not saved in external db yet
Signature
DiscardIssue()
New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
FindObject¶
-
IssueContent.
FindObject
¶ Finds the
NXOpen.NXObject
with the given identifier as recorded in a journal.An object may not return the same value as its JournalIdentifier in different versions of the software. However newer versions of the software should find the same object when FindObject is passed older versions of its journal identifier. In general, this method should not be used in handwritten code and exists to support record and playback of journals.
An exception will be thrown if no object can be found with the given journal identifier.
Signature
FindObject(journalIdentifier)
Parameters: journalIdentifier (str) – Journal identifier of the object Returns: Return type: NXOpen.INXObject
New in version NX3.0.0.
License requirements: None.
GetAllAttachments¶
-
IssueContent.
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¶
-
IssueContent.
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”)
GetChildAttachments¶
-
IssueContent.
GetChildAttachments
¶ Returns the child :py:class:`NXOpen.Issue.IssueAttachment`s
Signature
GetChildAttachments()
Returns: Return type: list of NXOpen.Issue.IssueAttachment
New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
GetFolders¶
-
IssueContent.
GetFolders
¶ Returns all the child :py:class:`NXOpen.Issue.IssueFolder`s
Signature
GetFolders()
Returns: Return type: list of NXOpen.Issue.IssueFolder
New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
GetPartAttachment¶
-
IssueContent.
GetPartAttachment
¶ Returns the
NXOpen.Issue.IssueAttachment
with part typeSignature
GetPartAttachment()
Returns: Return type: NXOpen.Issue.IssueAttachment
New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
GetProperty¶
-
IssueContent.
GetProperty
¶ Returns the
NXOpen.Issue.IssueProperty
with this property nameSignature
GetProperty(propertyName)
Parameters: propertyName (str) – Returns: Return type: NXOpen.Issue.IssueProperty
New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
GetPropertyValue¶
-
IssueContent.
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”)
GetUserProperties¶
-
IssueContent.
GetUserProperties
¶ Returns the user definded :py:class:`NXOpen.Issue.IssueProperty`s
Signature
GetUserProperties()
Returns: Return type: list of NXOpen.Issue.IssueProperty
New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
IsCheckedOut¶
-
IssueContent.
IsCheckedOut
¶ Returns whether the issue is checked out
Signature
IsCheckedOut()
Returns: a tuple Return type: A tuple consisting of (isCheckOut, user) isCheckOut is a bool. user is a str. New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
IsClosed¶
-
IssueContent.
IsClosed
¶ Returns whether the issue is closed
Signature
IsClosed()
Returns: Return type: bool New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
IsReadOnly¶
-
IssueContent.
IsReadOnly
¶ Returns whether the issue is read only
Signature
IsReadOnly()
Returns: Return type: bool New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
LoadAttachments¶
Print¶
-
IssueContent.
Print
¶ Prints a representation of this object to the system log file.
Signature
Print()
New in version NX3.0.0.
License requirements: None.
ReloadProperties¶
RemoveAttachment¶
-
IssueContent.
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”)
Review¶
-
IssueContent.
Review
¶ Signs off the current workflow task with decision
Signature
Review(reviewDecision, comment)
Parameters: - reviewDecision (str) –
- comment (str) –
New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
SaveChanges¶
-
IssueContent.
SaveChanges
¶ Saves the changes to issue server
Signature
SaveChanges()
New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
SendToWorkflow¶
-
IssueContent.
SendToWorkflow
¶ Sends the issue to workflow process
Signature
SendToWorkflow(workflowTemplate)
Parameters: workflowTemplate (str) – New in version NX8.5.0.
License requirements: nx_issue_mgmt (“NX Issue Tracking”)
SetName¶
-
IssueContent.
SetName
¶ Sets the custom name of the object.
NOTE: This method should not be used to edit a read-only object such as a Mirrored PMI object. If it is, the changes will be overridden when the part is updated.
Signature
SetName(name)
Parameters: name (str) – New in version NX3.0.0.
License requirements: None.
SetPropertyValue¶
-
IssueContent.
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”)