PmiAttributeCollection Class — NXOpen Python API Reference 12.0.0 documentation

# PmiAttributeCollection Class

class `NXOpen.Annotations.``PmiAttributeCollection`

  Bases: `object`

  Represents a collection of `NXOpen.Annotations.PmiAttribute` objects.

  To obtain an instance of this class, refer to `NXOpen.Annotations.PmiManager`

  New in version NX6.0.0.

# Methods

Method | Description
--- | ---
CreateBalloonNoteBuilder | Creates a `NXOpen.Annotations.BalloonNoteBuilder`
CreateCompanyProprietaryInformationBuilder | Creates a `NXOpen.Annotations.CompanyProprietaryInformationBuilder`
CreateCoordinateNoteBuilder | Creates a `NXOpen.Annotations.CoordinateNoteBuilder`
CreateEnterpriseIdentificationBuilder | Creates a `NXOpen.Annotations.EnterpriseIdentificationBuilder`
CreateExportControlBuilder | Creates a `NXOpen.Annotations.ExportControlBuilder`
CreateGeneralNoteBuilder | Creates a `NXOpen.Annotations.GeneralNoteBuilder`
CreateGovernmentSecurityInformationBuilder | Creates a `NXOpen.Annotations.GovernmentSecurityInformationBuilder`
CreateLocatorDesignatorBuilder | Creates a `NXOpen.Annotations.LocatorDesignatorBuilder`
CreateMaterialSpecificationBuilder | Creates a `NXOpen.Annotations.MaterialSpecificationBuilder`
CreatePartIdentificationBuilder | Creates a `NXOpen.Annotations.PartIdentificationBuilder`
CreatePmiAttributeBuilder | Creates a `NXOpen.Annotations.PmiAttributeBuilder`
CreatePmiAttributeValueIntegerBuilder | Creates a `NXOpen.Annotations.PmiAttributeValueIntegerBuilder`
CreatePmiAttributeValueListBuilder | Creates a `NXOpen.Annotations.PmiAttributeValueListBuilder`
CreatePmiAttributeValueMultipleStringBuilder | Creates a `NXOpen.Annotations.PmiAttributeValueMultipleStringBuilder`
CreatePmiAttributeValueNumberBuilder | Creates a `NXOpen.Annotations.PmiAttributeValueNumberBuilder`
CreatePmiAttributeValueStringBuilder | Creates a `NXOpen.Annotations.PmiAttributeValueStringBuilder`
CreatePmiAttributeValueUrlBuilder | Creates a `NXOpen.Annotations.PmiAttributeValueUrlBuilder`
CreatePmiIntegerBuilder | Creates a `NXOpen.Annotations.PmiIntegerBuilder`
CreatePmiNumberBuilder | Creates a `NXOpen.Annotations.PmiNumberBuilder`
CreatePmiStringBuilder | Creates a `NXOpen.Annotations.PmiStringBuilder`
CreatePmiUrlNoteBuilder | Creates a `NXOpen.Annotations.PmiUrlNoteBuilder`
CreatePmiUserDefinedBuilder | Creates a `NXOpen.Annotations.PmiUserDefinedBuilder`
CreateProcessSpecificationBuilder | Creates a `NXOpen.Annotations.ProcessSpecificationBuilder`
CreateSpecificNoteBuilder | Creates a `NXOpen.Annotations.SpecificNoteBuilder`
CreateSurfaceFinishBuilder | Creates a `NXOpen.Annotations.SurfaceFinishBuilder`
FindObject | Finds the `NXOpen.Annotations.PmiAttribute` with the given identifier as recorded in a journal.

# Method Detail

## CreateBalloonNoteBuilder

`PmiAttributeCollection.``CreateBalloonNoteBuilder`

  Creates a `NXOpen.Annotations.BalloonNoteBuilder`

  Signature `CreateBalloonNoteBuilder(balloonNote)`

  Parameters: | balloonNote (`NXOpen.Annotations.BalloonNote`) – balloon note
  Returns: |
  Return type: | `NXOpen.Annotations.BalloonNoteBuilder`

  New in version NX6.0.0.

  License requirements: None.

## CreateCompanyProprietaryInformationBuilder

`PmiAttributeCollection.``CreateCompanyProprietaryInformationBuilder`

  Creates a `NXOpen.Annotations.CompanyProprietaryInformationBuilder`

  Signature `CreateCompanyProprietaryInformationBuilder(companyProprietaryInformation)`

  Parameters: | companyProprietaryInformation (`NXOpen.Annotations.CompanyProprietaryInformation`) – company proprietary
  Returns: |
  Return type: | `NXOpen.Annotations.CompanyProprietaryInformationBuilder`

  New in version NX6.0.0.

  License requirements: None.

## CreateCoordinateNoteBuilder

`PmiAttributeCollection.``CreateCoordinateNoteBuilder`

  Creates a `NXOpen.Annotations.CoordinateNoteBuilder`

  Signature `CreateCoordinateNoteBuilder(coordinateNote)`

  Parameters: | coordinateNote (`NXOpen.Annotations.CoordinateNote`) – coordinate note
  Returns: |
  Return type: | `NXOpen.Annotations.CoordinateNoteBuilder`

  New in version NX6.0.0.

  License requirements: None.

## CreateEnterpriseIdentificationBuilder

`PmiAttributeCollection.``CreateEnterpriseIdentificationBuilder`

  Creates a `NXOpen.Annotations.EnterpriseIdentificationBuilder`

  Signature `CreateEnterpriseIdentificationBuilder(enterpriseIdentification)`

  Parameters: | enterpriseIdentification (`NXOpen.Annotations.EnterpriseIdentification`) – enterprise identification
  Returns: |
  Return type: | `NXOpen.Annotations.EnterpriseIdentificationBuilder`

  New in version NX6.0.0.

  License requirements: None.

## CreateExportControlBuilder

`PmiAttributeCollection.``CreateExportControlBuilder`

  Creates a `NXOpen.Annotations.ExportControlBuilder`

  Signature `CreateExportControlBuilder(exportControl)`

  Parameters: | exportControl (`NXOpen.Annotations.ExportControl`) – export control
  Returns: |
  Return type: | `NXOpen.Annotations.ExportControlBuilder`

  New in version NX6.0.0.

  License requirements: None.

## CreateGeneralNoteBuilder

`PmiAttributeCollection.``CreateGeneralNoteBuilder`

  Creates a `NXOpen.Annotations.GeneralNoteBuilder`

  Signature `CreateGeneralNoteBuilder(generalNote)`

  Parameters: | generalNote (`NXOpen.Annotations.GeneralNote`) – general note
  Returns: |
  Return type: | `NXOpen.Annotations.GeneralNoteBuilder`

  New in version NX6.0.0.

  License requirements: None.

## CreateGovernmentSecurityInformationBuilder

`PmiAttributeCollection.``CreateGovernmentSecurityInformationBuilder`

  Creates a `NXOpen.Annotations.GovernmentSecurityInformationBuilder`

  Signature `CreateGovernmentSecurityInformationBuilder(governmentSecurityInformation)`

  Parameters: | governmentSecurityInformation (`NXOpen.Annotations.GovernmentSecurityInformation`) – eMarking government
  Returns: |
  Return type: | `NXOpen.Annotations.GovernmentSecurityInformationBuilder`

  New in version NX6.0.0.

  License requirements: None.

## CreateLocatorDesignatorBuilder

`PmiAttributeCollection.``CreateLocatorDesignatorBuilder`

  Creates a `NXOpen.Annotations.LocatorDesignatorBuilder`

  Signature `CreateLocatorDesignatorBuilder(locatorDesignator)`

  Parameters: | locatorDesignator (`NXOpen.Annotations.LocatorDesignator`) – locator designator
  Returns: |
  Return type: | `NXOpen.Annotations.LocatorDesignatorBuilder`

  New in version NX6.0.0.

  License requirements: None.

## CreateMaterialSpecificationBuilder

`PmiAttributeCollection.``CreateMaterialSpecificationBuilder`

  Creates a `NXOpen.Annotations.MaterialSpecificationBuilder`

  Signature `CreateMaterialSpecificationBuilder(materialSpecification)`

  Parameters: | materialSpecification (`NXOpen.Annotations.MaterialSpecification`) – material specification
  Returns: |
  Return type: | `NXOpen.Annotations.MaterialSpecificationBuilder`

  New in version NX6.0.0.

  License requirements: None.

## CreatePartIdentificationBuilder

`PmiAttributeCollection.``CreatePartIdentificationBuilder`

  Creates a `NXOpen.Annotations.PartIdentificationBuilder`

  Signature `CreatePartIdentificationBuilder(partIdentification)`

  Parameters: | partIdentification (`NXOpen.Annotations.PartIdentification`) – part identification
  Returns: |
  Return type: | `NXOpen.Annotations.PartIdentificationBuilder`

  New in version NX6.0.0.

  License requirements: None.

## CreatePmiAttributeBuilder

`PmiAttributeCollection.``CreatePmiAttributeBuilder`

  Creates a `NXOpen.Annotations.PmiAttributeBuilder`

  Signature `CreatePmiAttributeBuilder(pmiAttr)`

  Parameters: | pmiAttr (`NXOpen.Annotations.PmiAttribute`) – pmi base class
  Returns: |
  Return type: | `NXOpen.Annotations.PmiAttributeBuilder`

  New in version NX6.0.0.

  License requirements: None.

## CreatePmiAttributeValueIntegerBuilder

`PmiAttributeCollection.``CreatePmiAttributeValueIntegerBuilder`

  Creates a `NXOpen.Annotations.PmiAttributeValueIntegerBuilder`

  Signature `CreatePmiAttributeValueIntegerBuilder(pmiAttributeValueInteger)`

  Parameters: | pmiAttributeValueInteger (`NXOpen.Annotations.PmiAttributeValueInteger`) – integer value
  Returns: |
  Return type: | `NXOpen.Annotations.PmiAttributeValueIntegerBuilder`

  New in version NX6.0.0.

  License requirements: None.

## CreatePmiAttributeValueListBuilder

`PmiAttributeCollection.``CreatePmiAttributeValueListBuilder`

  Creates a `NXOpen.Annotations.PmiAttributeValueListBuilder`

  Signature `CreatePmiAttributeValueListBuilder(pmiAttributeValueList)`

  Parameters: | pmiAttributeValueList (`NXOpen.Annotations.PmiAttributeValueList`) – list value
  Returns: |
  Return type: | `NXOpen.Annotations.PmiAttributeValueListBuilder`

  New in version NX6.0.0.

  License requirements: None.

## CreatePmiAttributeValueMultipleStringBuilder

`PmiAttributeCollection.``CreatePmiAttributeValueMultipleStringBuilder`

  Creates a `NXOpen.Annotations.PmiAttributeValueMultipleStringBuilder`

  Signature `CreatePmiAttributeValueMultipleStringBuilder(pmiAttributeValueMultipleString)`

  Parameters: | pmiAttributeValueMultipleString (`NXOpen.Annotations.PmiAttributeValueMultipleString`) – multiple string value
  Returns: |
  Return type: | `NXOpen.Annotations.PmiAttributeValueMultipleStringBuilder`

  New in version NX6.0.0.

  License requirements: None.

## CreatePmiAttributeValueNumberBuilder

`PmiAttributeCollection.``CreatePmiAttributeValueNumberBuilder`

  Creates a `NXOpen.Annotations.PmiAttributeValueNumberBuilder`

  Signature `CreatePmiAttributeValueNumberBuilder(pmiAttributeValueNumber)`

  Parameters: | pmiAttributeValueNumber (`NXOpen.Annotations.PmiAttributeValueNumber`) – number value
  Returns: |
  Return type: | `NXOpen.Annotations.PmiAttributeValueNumberBuilder`

  New in version NX6.0.0.

  License requirements: None.

## CreatePmiAttributeValueStringBuilder

`PmiAttributeCollection.``CreatePmiAttributeValueStringBuilder`

  Creates a `NXOpen.Annotations.PmiAttributeValueStringBuilder`

  Signature `CreatePmiAttributeValueStringBuilder(pmiAttributeValueString)`

  Parameters: | pmiAttributeValueString (`NXOpen.Annotations.PmiAttributeValueString`) – string value
  Returns: |
  Return type: | `NXOpen.Annotations.PmiAttributeValueStringBuilder`

  New in version NX6.0.0.

  License requirements: None.

## CreatePmiAttributeValueUrlBuilder

`PmiAttributeCollection.``CreatePmiAttributeValueUrlBuilder`

  Creates a `NXOpen.Annotations.PmiAttributeValueUrlBuilder`

  Signature `CreatePmiAttributeValueUrlBuilder(pmiAttributeValueUrl)`

  Parameters: | pmiAttributeValueUrl (`NXOpen.Annotations.PmiAttributeValueUrl`) – list value
  Returns: |
  Return type: | `NXOpen.Annotations.PmiAttributeValueUrlBuilder`

  New in version NX6.0.0.

  License requirements: None.

## CreatePmiIntegerBuilder

`PmiAttributeCollection.``CreatePmiIntegerBuilder`

  Creates a `NXOpen.Annotations.PmiIntegerBuilder`

  Signature `CreatePmiIntegerBuilder(pmiInteger)`

  Parameters: | pmiInteger (`NXOpen.Annotations.PmiInteger`) – integer
  Returns: |
  Return type: | `NXOpen.Annotations.PmiIntegerBuilder`

  New in version NX6.0.0.

  License requirements: None.

## CreatePmiNumberBuilder

`PmiAttributeCollection.``CreatePmiNumberBuilder`

  Creates a `NXOpen.Annotations.PmiNumberBuilder`

  Signature `CreatePmiNumberBuilder(pmiNumber)`

  Parameters: | pmiNumber (`NXOpen.Annotations.PmiNumber`) – number
  Returns: |
  Return type: | `NXOpen.Annotations.PmiNumberBuilder`

  New in version NX6.0.0.

  License requirements: None.

## CreatePmiStringBuilder

`PmiAttributeCollection.``CreatePmiStringBuilder`

  Creates a `NXOpen.Annotations.PmiStringBuilder`

  Signature `CreatePmiStringBuilder(pmiString)`

  Parameters: | pmiString (`NXOpen.Annotations.PmiString`) – string
  Returns: |
  Return type: | `NXOpen.Annotations.PmiStringBuilder`

  New in version NX6.0.0.

  License requirements: None.

## CreatePmiUrlNoteBuilder

`PmiAttributeCollection.``CreatePmiUrlNoteBuilder`

  Creates a `NXOpen.Annotations.PmiUrlNoteBuilder`

  Signature `CreatePmiUrlNoteBuilder(pmiUrlNote)`

  Parameters: | pmiUrlNote (`NXOpen.Annotations.PmiUrlNote`) – url note
  Returns: |
  Return type: | `NXOpen.Annotations.PmiUrlNoteBuilder`

  New in version NX6.0.0.

  License requirements: None.

## CreatePmiUserDefinedBuilder

`PmiAttributeCollection.``CreatePmiUserDefinedBuilder`

  Creates a `NXOpen.Annotations.PmiUserDefinedBuilder`

  Signature `CreatePmiUserDefinedBuilder(userDefined)`

  Parameters: | userDefined (`NXOpen.Annotations.PmiUserDefined`) – user defined
  Returns: |
  Return type: | `NXOpen.Annotations.PmiUserDefinedBuilder`

  New in version NX6.0.0.

  License requirements: None.

## CreateProcessSpecificationBuilder

`PmiAttributeCollection.``CreateProcessSpecificationBuilder`

  Creates a `NXOpen.Annotations.ProcessSpecificationBuilder`

  Signature `CreateProcessSpecificationBuilder(processSpecification)`

  Parameters: | processSpecification (`NXOpen.Annotations.ProcessSpecification`) – process specification
  Returns: |
  Return type: | `NXOpen.Annotations.ProcessSpecificationBuilder`

  New in version NX6.0.0.

  License requirements: None.

## CreateSpecificNoteBuilder

`PmiAttributeCollection.``CreateSpecificNoteBuilder`

  Creates a `NXOpen.Annotations.SpecificNoteBuilder`

  Signature `CreateSpecificNoteBuilder(specificNote)`

  Parameters: | specificNote (`NXOpen.Annotations.SpecificNote`) – specific note
  Returns: |
  Return type: | `NXOpen.Annotations.SpecificNoteBuilder`

  New in version NX6.0.0.

  License requirements: None.

## CreateSurfaceFinishBuilder

`PmiAttributeCollection.``CreateSurfaceFinishBuilder`

  Creates a `NXOpen.Annotations.SurfaceFinishBuilder`

  Signature `CreateSurfaceFinishBuilder(surfaceFinish)`

  Parameters: | surfaceFinish (`NXOpen.Annotations.SurfaceFinish`) – surface finish
  Returns: |
  Return type: | `NXOpen.Annotations.SurfaceFinishBuilder`

  New in version NX6.0.0.

  License requirements: None.

## FindObject

`PmiAttributeCollection.``FindObject`

  Finds the `NXOpen.Annotations.PmiAttribute` with the given identifier as recorded in a journal.

  An object may not return the same value as its JournalIdentifier in different versions of the software. However newer versions of the software should find the same object when FindObject is passed older versions of its journal identifier. In general, this method should not be used in handwritten code and exists to support record and playback of journals.

  An exception will be thrown if no object can be found with the given journal identifier.

  Signature `FindObject(journalIdentifier)`

  Parameters: | journalIdentifier (str) – Identifier of the pmi
  Returns: | PMI with this identifier
  Return type: | `NXOpen.TaggedObject`

  New in version NX6.0.0.

  License requirements: None.