ConfigurationContextBuilder Class¶
-
class
NXOpen.PDM.
ConfigurationContextBuilder
¶ Bases:
NXOpen.Builder
Represents a
NXOpen.PDM.ConfigurationContextBuilder
builderTo create a new instance of this class, use
NXOpen.PDM.ConfigurationManager.CreateConfigurationContextBuilder()
New in version NX9.0.0.
Properties¶
Property | Description |
---|---|
CollaborativeDesign | Returns or sets the collaborative design |
ConfigDetail | Returns or sets the configuration detail |
ConfigMode | Returns the configuration mode |
ConfigType | Returns or sets the configuration type |
ContentDefinition | Returns or sets the NXOpen.ContentDefinition of the subset. |
EffectivityTable | Returns the NXOpen.PDM.EffectivityTableBuilder builder used to edit the effectivity |
OverrideFolder | Returns or sets the override folder |
RevisionRule | Returns or sets the revision rule |
Tag | Returns the Tag for this object. |
VariantConfiguration | Returns the NXOpen.PDM.VariantConfigurationBuilder builder used to edit variant rule configuration |
Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
Destroy | Deletes the builder, and cleans up any objects created by the builder. |
GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
GetObject | Returns the object currently being edited by this builder. |
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. |
Enumerations¶
ConfigurationContextBuilderConfigContextMode Enumeration | configuration mode |
ConfigurationContextBuilderConfigContextType Enumeration | configuration type |
ConfigurationContextBuilderConfigurationDetail Enumeration | configuration detail |
Property Detail¶
CollaborativeDesign¶
-
ConfigurationContextBuilder.
CollaborativeDesign
¶ Returns or sets the collaborative design
-------------------------------------
Getter Method
Signature
CollaborativeDesign()
Returns: Return type: NXOpen.CollaborativeDesign
New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
CollaborativeDesign(collaborativeDesign)
Parameters: collaborativeDesign ( NXOpen.CollaborativeDesign
) –New in version NX10.0.0.
License requirements: nx_4gd_integration (“4th Generation Design”)
ConfigDetail¶
-
ConfigurationContextBuilder.
ConfigDetail
¶ Returns or sets the configuration detail
-------------------------------------
Getter Method
Signature
ConfigDetail()
Returns: Return type: NXOpen.PDM.ConfigurationContextBuilderConfigurationDetail
New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ConfigDetail(configDetail)
Parameters: configDetail ( NXOpen.PDM.ConfigurationContextBuilderConfigurationDetail
) –New in version NX9.0.0.
License requirements: assemblies (“ASSEMBLIES MODULE”)
ConfigMode¶
-
ConfigurationContextBuilder.
ConfigMode
¶ Returns the configuration mode
-------------------------------------
Getter Method
Signature
ConfigMode()
Returns: Return type: NXOpen.PDM.ConfigurationContextBuilderConfigContextMode
New in version NX9.0.0.
License requirements: None.
ConfigType¶
-
ConfigurationContextBuilder.
ConfigType
¶ Returns or sets the configuration type
-------------------------------------
Getter Method
Signature
ConfigType()
Returns: Return type: NXOpen.PDM.ConfigurationContextBuilderConfigContextType
New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ConfigType(configType)
Parameters: configType ( NXOpen.PDM.ConfigurationContextBuilderConfigContextType
) –New in version NX9.0.0.
License requirements: assemblies (“ASSEMBLIES MODULE”)
ContentDefinition¶
-
ConfigurationContextBuilder.
ContentDefinition
¶ Returns or sets the
NXOpen.ContentDefinition
of the subset.-------------------------------------
Getter Method
Signature
ContentDefinition()
Returns: Return type: NXOpen.ContentDefinition
New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ContentDefinition(contentDefinition)
Parameters: contentDefinition ( NXOpen.ContentDefinition
) –New in version NX11.0.0.
License requirements: nx_4gd_integration (“4th Generation Design”)
EffectivityTable¶
-
ConfigurationContextBuilder.
EffectivityTable
¶ Returns the
NXOpen.PDM.EffectivityTableBuilder
builder used to edit the effectivity-------------------------------------
Getter Method
Signature
EffectivityTable()
Returns: Return type: NXOpen.PDM.EffectivityTableBuilder
New in version NX9.0.0.
License requirements: None.
OverrideFolder¶
-
ConfigurationContextBuilder.
OverrideFolder
¶ Returns or sets the override folder
-------------------------------------
Getter Method
Signature
OverrideFolder()
Returns: Return type: str New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
OverrideFolder(folderName)
Parameters: folderName (str) – New in version NX9.0.0.
License requirements: assemblies (“ASSEMBLIES MODULE”)
RevisionRule¶
-
ConfigurationContextBuilder.
RevisionRule
¶ Returns or sets the revision rule
-------------------------------------
Getter Method
Signature
RevisionRule()
Returns: Return type: str New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
RevisionRule(revisionRule)
Parameters: revisionRule (str) – New in version NX9.0.0.
License requirements: assemblies (“ASSEMBLIES MODULE”)
VariantConfiguration¶
-
ConfigurationContextBuilder.
VariantConfiguration
¶ Returns the
NXOpen.PDM.VariantConfigurationBuilder
builder used to edit variant rule configuration-------------------------------------
Getter Method
Signature
VariantConfiguration()
Returns: Return type: NXOpen.PDM.VariantConfigurationBuilder
New in version NX9.0.0.
License requirements: None.
Method Detail¶
Validate¶
-
ConfigurationContextBuilder.
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.