InitProjBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# InitProjBuilder Class

class `NXOpen.Tooling.``InitProjBuilder`

  Bases: `NXOpen.Builder`

  Represents a `NXOpen.Tooling.InitProjBuilder`

  To 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 `InsertStripTog`

  Returns: |
  Return type: | bool

  New in version NX6.0.2.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `InsertStripTog`

  Parameters: | 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 `PartMatStr`

  Returns: |
  Return type: | str

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `PartMatStr`

  Parameters: | 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 `PartThickReal`

  Returns: |
  Return type: | float

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `PartThickReal`

  Parameters: | 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 `PartUnitStr`

  Returns: |
  Return type: | str

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `PartUnitStr`

  Parameters: | 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 `ProjPathStr`

  Returns: |
  Return type: | str

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ProjPathStr`

  Parameters: | projPathStr (str) –

  New in version NX6.0.0.

  License requirements: None.

## ProjTempOpt

`InitProjBuilder.``ProjTempOpt`

  Returns or sets the project template option

  `-------------------------------------`

  Getter Method

  Signature `ProjTempOpt`

  Returns: |
  Return type: | `NXOpen.Tooling.InitProjBuilderProjTempOption`

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ProjTempOpt`

  Parameters: | 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 `RenameDiaTog`

  Returns: |
  Return type: | bool

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `RenameDiaTog`

  Parameters: | 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 `StationaryFace`

  Returns: |
  Return type: | `NXOpen.ScCollector`

  New in version NX6.0.2.

  License requirements: None.

## UseSmfeatTog

`InitProjBuilder.``UseSmfeatTog`

  Returns or sets the option to use SMD features

  `-------------------------------------`

  Getter Method

  Signature `UseSmfeatTog`

  Returns: |
  Return type: | bool

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `UseSmfeatTog`

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