InitProjBuilder Class¶
-
class
NXOpen.Tooling.InitProjBuilder¶ Bases:
NXOpen.BuilderRepresents a
NXOpen.Tooling.InitProjBuilderTo create a new instance of this class, use
NXOpen.Tooling.InitProjCollection.CreateInitProjBuilder()Default values.
Property Value InsertStripTog 0 PartThickReal 0 ProjTempOpt Default RenameDiaTog 0 UseSmfeatTog 0 New in version NX6.0.0.
Properties¶
| Property | Description |
|---|---|
| InsertStripTog | Returns or sets the option to insert strip in project |
| PartMatStr | Returns or sets the material type of sheet metal part |
| PartThickReal | Returns or sets the sheet metal part thickness |
| PartUnitStr | Returns or sets the units of the sheet metal part |
| ProjPathStr | Returns or sets the project path for a new project |
| ProjTempOpt | Returns or sets the project template option |
| RenameDiaTog | Returns or sets the option to rename parts in project |
| StationaryFace | Returns the planar faces assigned as stationary face of strip |
| Tag | Returns the Tag for this object. |
| UseSmfeatTog | Returns or sets the option to use SMD features |
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. |
| MatLibButton | Pop up material library speadsheet file |
| ProjPathButton | Pop up File Selection dialog box to define the project path |
| ProjTempBut | Pop up project template configuration spreadsheet |
| 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¶
| InitProjBuilderProjTempOption Enumeration | Represents the project template option of InitProj, defines the pre-defined project template. |
Property Detail¶
InsertStripTog¶
-
InitProjBuilder.InsertStripTog¶ Returns or sets the option to insert strip in project
-------------------------------------Getter Method
Signature
InsertStripTogReturns: Return type: bool New in version NX6.0.2.
License requirements: None.
-------------------------------------Setter Method
Signature
InsertStripTogParameters: insertStripTog (bool) – New in version NX6.0.2.
License requirements: None.
PartMatStr¶
-
InitProjBuilder.PartMatStr¶ Returns or sets the material type of sheet metal part
-------------------------------------Getter Method
Signature
PartMatStrReturns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
PartMatStrParameters: partMatStr (str) – New in version NX6.0.0.
License requirements: None.
PartThickReal¶
-
InitProjBuilder.PartThickReal¶ Returns or sets the sheet metal part thickness
-------------------------------------Getter Method
Signature
PartThickRealReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
PartThickRealParameters: partThickReal (float) – New in version NX6.0.0.
License requirements: None.
PartUnitStr¶
-
InitProjBuilder.PartUnitStr¶ Returns or sets the units of the sheet metal part
-------------------------------------Getter Method
Signature
PartUnitStrReturns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
PartUnitStrParameters: partUnitStr (str) – New in version NX6.0.0.
License requirements: None.
ProjPathStr¶
-
InitProjBuilder.ProjPathStr¶ Returns or sets the project path for a new project
-------------------------------------Getter Method
Signature
ProjPathStrReturns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ProjPathStrParameters: projPathStr (str) – New in version NX6.0.0.
License requirements: None.
ProjTempOpt¶
-
InitProjBuilder.ProjTempOpt¶ Returns or sets the project template option
-------------------------------------Getter Method
Signature
ProjTempOptReturns: Return type: NXOpen.Tooling.InitProjBuilderProjTempOptionNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ProjTempOptParameters: projTempOpt ( NXOpen.Tooling.InitProjBuilderProjTempOption) –New in version NX6.0.0.
License requirements: None.
RenameDiaTog¶
-
InitProjBuilder.RenameDiaTog¶ Returns or sets the option to rename parts in project
-------------------------------------Getter Method
Signature
RenameDiaTogReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
RenameDiaTogParameters: renameDiaTog (bool) – New in version NX6.0.0.
License requirements: None.
StationaryFace¶
-
InitProjBuilder.StationaryFace¶ Returns the planar faces assigned as stationary face of strip
-------------------------------------Getter Method
Signature
StationaryFaceReturns: Return type: NXOpen.ScCollectorNew in version NX6.0.2.
License requirements: None.
UseSmfeatTog¶
-
InitProjBuilder.UseSmfeatTog¶ Returns or sets the option to use SMD features
-------------------------------------Getter Method
Signature
UseSmfeatTogReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
UseSmfeatTogParameters: useSmfeatTog (bool) – New in version NX6.0.0.
License requirements: None.
Method Detail¶
MatLibButton¶
-
InitProjBuilder.MatLibButton¶ Pop up material library speadsheet file
Signature
MatLibButton()New in version NX6.0.0.
License requirements: None.
ProjPathButton¶
-
InitProjBuilder.ProjPathButton¶ Pop up File Selection dialog box to define the project path
Signature
ProjPathButton()New in version NX6.0.0.
License requirements: None.
ProjTempBut¶
-
InitProjBuilder.ProjTempBut¶ Pop up project template configuration spreadsheet
Signature
ProjTempBut()New in version NX6.0.0.
License requirements: None.
Validate¶
-
InitProjBuilder.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.