NXOpen .NET Reference Guide
|
Represents an NX NXOpen.Validate.RequirementCollection object. More...
Public Types | |
enum | SourceTypeOptions { LocalFile, TeamcenterFile, Teamcenter, MeasurableAttribute } |
This enum represents the type of external source where requirement is defined More... | |
Public Member Functions | |
unsafe NXOpen.Validate.RequirementBuilder | CreateRequirementBuilder (NXOpen.Validate.Requirement requirement) |
Creates a NXOpen.Validate.RequirementBuilder More... | |
unsafe NXOpen.Validate.Requirement | FindObject (string id) |
Finds the NXOpen.Validate.Requirement with the given identifier. More... | |
unsafe void | LoadFromExternalSource (NXOpen.Validate.RequirementCollection.SourceTypeOptions sourceType, string source, string revision, string project) |
Loads NXOpen.Validate.Requirement from external source. More... | |
unsafe void | RefreshFromExternalSource (NXOpen.Validate.Requirement[] requirementTags) |
Refreshes the requirements from external source. More... | |
NXOpen.Validate.Requirement[] | ToArray () |
Returns an array of NXOpen.Validate.Requirement objects. More... | |
Public Member Functions inherited from NXOpen.TaggedObjectCollection | |
IEnumerator | GetEnumerator () |
Returns an enumerator that iterates through a collection. More... | |
Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageCtrl | AsyncProcessMessage (IMessage msg, IMessageSink replySink) |
Asynchronously processes the given message. More... | |
IMessage | SyncProcessMessage (IMessage msg) |
Synchronously processes the given message. More... | |
Protected Member Functions | |
override int | EnumerateMoveNext (ref Tag currentTag, byte[] state) |
Advances the enumerator to the next element of the collection. More... | |
Protected Member Functions inherited from NXOpen.TaggedObjectCollection | |
new void | initialize () |
<exclude> More... | |
Protected Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
void | initialize () |
<exclude> More... | |
Properties | |
unsafe string | RevisionRule [get, set] |
Returns or sets the revision rule for requirement from Teamcenter More... | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Represents an NX NXOpen.Validate.RequirementCollection object.
To obtain an instance of this class, refer to NXOpen.BasePart
Created in NX8.5.0
|
inline |
Creates a NXOpen.Validate.RequirementBuilder
Created in NX8.5.0
License requirements: None.
requirement |
|
inlineprotectedvirtual |
Advances the enumerator to the next element of the collection.
Implements NXOpen.TaggedObjectCollection.
|
inline |
Finds the NXOpen.Validate.Requirement with the given identifier.
An exception will be thrown if no object can be found with given identifier.
Created in NX8.5.0
License requirements: None.
id | The identifier of the NXOpen.Validate.Requirement |
|
inline |
Loads NXOpen.Validate.Requirement from external source.
The source can be local file, Teamcenter requirement item or item revision, and Teamcenter spreadsheet dataset for which the input sourceType is LocalFile, Teamcenter and TeamcenterFile respectively.
Example inputs when sourceType is LocalFile
Example inputs when sourceType is Teamcenter
If source is item revision 000084/A:
If source is item 000084:
Example inputs when sourceType is TeamcenterFile
If source is a spreadsheet dataset in an item revision 000085/A:
If source is a spreadsheet dataset in item 000085:
Created in NX8.5.0
License requirements: None.
sourceType | Type of the external source |
source | File full path if sourceType is LocalFile; Item id if sourceType is Teamcenter or TeamcenterFile. |
revision | Only needed if sourceType is Teamcenter or TeamcenterFile. Revision id if source is an item revision. Null if source is an item. |
project | Required if sourceType is LocalFile or TeamcenterFile. Project name if the source is a XML file; Sheet name if source is a spreadsheet file. |
|
inline |
Refreshes the requirements from external source.
Created in NX10.0.0
License requirements: None.
requirementTags |
|
inline |
Returns an array of NXOpen.Validate.Requirement objects.
|
getset |
Returns or sets the revision rule for requirement from Teamcenter
Created in NX8.5.0
License requirements to get this property: None.
License requirements to set this property: None.
|
get |
Returns the tag of this object.