NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | List of all members
NXOpen.PDM.VariantRulesConfigurationBuilder Class Reference

Represents an NXOpen.PDM.VariantRulesConfigurationBuilder to be used for variant rules configuration. More...

Inheritance diagram for NXOpen.PDM.VariantRulesConfigurationBuilder:
NXOpen.Builder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

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...
 

Detailed Description

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

Member Function Documentation

unsafe void NXOpen.PDM.VariantRulesConfigurationBuilder.AddVariantRulesToConfigure ( string[]  contextIds,
string[]  variantRules 
)
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")

Parameters
contextIdscontext id comprising of multifield key and itemRev_id in which variant rule resides
variantRulesvariant rules of corresponding context ids to be added
unsafe string [] NXOpen.PDM.VariantRulesConfigurationBuilder.GetVariantRulesForProductAssembly ( string  contextId,
string  revId 
)
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")

Parameters
contextIdmultifield key in case of product assembly or collaborative design id
revIditemRev_id in case of product assembly
Returns
variant rules from the given context
unsafe void NXOpen.PDM.VariantRulesConfigurationBuilder.GetVariantRulesSelectedForConfiguration ( out string[]  contextIds,
out string[]  variantRules 
)
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")

Parameters
contextIdsarray of contextIds comprising of multifield key and itemRev_id from which variant rules are selected
variantRulesarray of selected variant rules

The documentation for this class was generated from the following file:
Copyright 2019 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.