NXOpen .NET Reference Guide
1899
|
Represents an NXOpen.PDM.VariantRulesConfigurationBuilder to be used for variant rules configuration. More...
Public Member Functions | |
unsafe void | AddVariantRulesToConfigure (string[] contextIds, string[] variantRules) |
Adds given variant rules in case of multiple variant rules to NXOpen.PDM.VariantRulesConfigurationBuilder The input contextIds comprising of multifield key and itemRev_id: In case of default domain: contextId should contain Teamcenter item ID. More... | |
unsafe string[] | GetVariantRulesForProductAssembly (string contextId, string revId) |
Returns the saved variant rules for the give context ID The input contextId: In case of default domain: it should be Teamcenter item ID. More... | |
unsafe void | GetVariantRulesSelectedForConfiguration (out string[] contextIds, out string[] variantRules) |
Returns selected variant rules stored inside NXOpen.PDM.VariantRulesConfigurationBuilder The input contextIds comprising of multifield key and itemRev_id: In case of default domain: contextId should contain Teamcenter item ID. More... | |
Public Member Functions inherited from NXOpen.Builder | |
unsafe NXOpen.NXObject | Commit () |
Commits any edits that have been applied to the builder. More... | |
unsafe void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
unsafe NXOpen.NXObject[] | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
unsafe NXOpen.NXObject | GetObject () |
Returns the object currently being edited by this builder. More... | |
unsafe void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
unsafe bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Public Member Functions inherited from NXOpen.TaggedObject | |
void | PrintTestData (String variableName) |
<exclude> More... | |
void | PrintTestData (String variableName, int lineNumber) |
<exclude> More... | |
override string | ToString () |
Returns a String that represents the current Object. 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... | |
Additional Inherited Members | |
Protected Member Functions inherited from NXOpen.TaggedObject | |
new void | initialize () |
<exclude> More... | |
Properties inherited from NXOpen.Builder | |
unsafe NXOpen.PreviewBuilder | PreviewBuilder [get] |
Returns the preview builder subobject. More... | |
Represents an NXOpen.PDM.VariantRulesConfigurationBuilder to be used for variant rules configuration.
To create a new instance of this class, use NXOpen.PDM.ConfigurationManager.CreateVariantRulesConfigurationBuilder
Created in NX1872.0.0
|
inline |
Adds given variant rules in case of multiple variant rules to NXOpen.PDM.VariantRulesConfigurationBuilder The input contextIds comprising of multifield key and itemRev_id: In case of default domain: contextId should contain Teamcenter item ID.
In case of non-default domain: contextId should contain the multifield keys. e.g. %MFK#%,=item_id=001, object_type=SupplierPart, supplier_code=x
Created in NX1872.0.0
License requirements: assemblies ("ASSEMBLIES MODULE")
contextIds | context id comprising of multifield key and itemRev_id in which variant rule resides |
variantRules | variant rules of corresponding context ids to be added |
|
inline |
Returns the saved variant rules for the give context ID The input contextId: In case of default domain: it should be Teamcenter item ID.
In case of non-default domain: it should be the multifield key. e.g. %MFK#%,=item_id=001, object_type=SupplierPart, supplier_code=x
Created in NX1872.0.0
License requirements: assemblies ("ASSEMBLIES MODULE")
contextId | multifield key in case of product assembly or collaborative design id |
revId | itemRev_id in case of product assembly |
|
inline |
Returns selected variant rules stored inside NXOpen.PDM.VariantRulesConfigurationBuilder The input contextIds comprising of multifield key and itemRev_id: In case of default domain: contextId should contain Teamcenter item ID.
In case of non-default domain: contextId should contain the multifield keys. e.g. %MFK#%,=item_id=001, object_type=SupplierPart, supplier_code=x
Created in NX1872.0.0
License requirements: assemblies ("ASSEMBLIES MODULE")
contextIds | array of contextIds comprising of multifield key and itemRev_id from which variant rules are selected |
variantRules | array of selected variant rules |