InitProjectBuilder Class¶
-
class
NXOpen.Tooling.
InitProjectBuilder
¶ Bases:
NXOpen.Builder
Mold Wizard initialize project builder
To create a new instance of this class, use
NXOpen.Tooling.InitProjectCollection.CreateBuilder()
Default values.
Property Value Configuration Default Material None Rename 0 Unit Millimeter New in version NX6.0.0.
Properties¶
Property | Description |
---|---|
BodySelect | Returns the body will be used as product to create Mold Wizard project |
Configuration | Returns or sets the configuration access functions |
Material | Returns or sets the material access functions |
PathName | Returns or sets the project path access functions |
ProjectName | Returns or sets the project name access functions |
Rename | Returns or sets the rename dialog allows users to define rename rules |
Shrinkage | Returns or sets the shrinkage access functions |
Tag | Returns the Tag for this object. |
Unit | Returns or sets the project unit access functions |
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¶
InitProjectBuilderConfigurationId Enumeration | the configuration type includes default and orig |
InitProjectBuilderMaterialId Enumeration | the material type includes None and Nylon |
InitProjectBuilderUnitId Enumeration | the unit type includes metric and inch project type |
Property Detail¶
BodySelect¶
-
InitProjectBuilder.
BodySelect
¶ Returns the body will be used as product to create Mold Wizard project
-------------------------------------
Getter Method
Signature
BodySelect
Returns: Return type: NXOpen.SelectBodyList
New in version NX6.0.0.
License requirements: None.
Configuration¶
-
InitProjectBuilder.
Configuration
¶ Returns or sets the configuration access functions
-------------------------------------
Getter Method
Signature
Configuration
Returns: Return type: NXOpen.Tooling.InitProjectBuilderConfigurationId
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Configuration
Parameters: configuration ( NXOpen.Tooling.InitProjectBuilderConfigurationId
) –New in version NX6.0.0.
License requirements: None.
Material¶
-
InitProjectBuilder.
Material
¶ Returns or sets the material access functions
-------------------------------------
Getter Method
Signature
Material
Returns: Return type: NXOpen.Tooling.InitProjectBuilderMaterialId
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Material
Parameters: material ( NXOpen.Tooling.InitProjectBuilderMaterialId
) –New in version NX6.0.0.
License requirements: None.
PathName¶
-
InitProjectBuilder.
PathName
¶ Returns or sets the project path access functions
-------------------------------------
Getter Method
Signature
PathName
Returns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PathName
Parameters: pathName (str) – New in version NX6.0.0.
License requirements: None.
ProjectName¶
-
InitProjectBuilder.
ProjectName
¶ Returns or sets the project name access functions
-------------------------------------
Getter Method
Signature
ProjectName
Returns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ProjectName
Parameters: projectName (str) – New in version NX6.0.0.
License requirements: None.
Rename¶
-
InitProjectBuilder.
Rename
¶ Returns or sets the rename dialog allows users to define rename rules
-------------------------------------
Getter Method
Signature
Rename
Returns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Rename
Parameters: rename (bool) – New in version NX6.0.0.
License requirements: None.
Shrinkage¶
-
InitProjectBuilder.
Shrinkage
¶ Returns or sets the shrinkage access functions
-------------------------------------
Getter Method
Signature
Shrinkage
Returns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Shrinkage
Parameters: shrinkage (str) – New in version NX6.0.0.
License requirements: None.
Unit¶
-
InitProjectBuilder.
Unit
¶ Returns or sets the project unit access functions
-------------------------------------
Getter Method
Signature
Unit
Returns: Return type: NXOpen.Tooling.InitProjectBuilderUnitId
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Unit
Parameters: unit ( NXOpen.Tooling.InitProjectBuilderUnitId
) –New in version NX6.0.0.
License requirements: None.
Method Detail¶
Validate¶
-
InitProjectBuilder.
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.