PmiLightweightSectionCollection Class

class NXOpen.Annotations.PmiLightweightSectionCollection

Bases: object

Represents a collection of NXOpen.Annotations.LightweightSection objects

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

New in version NX7.5.0.

Methods

Method Description
CreateLightweightSectionBuilder Creates a NXOpen.Annotations.LightweightSectionBuilder
FindObject Finds the lightweight section with the given name.

Method Detail

CreateLightweightSectionBuilder

PmiLightweightSectionCollection.CreateLightweightSectionBuilder

Overloaded method CreateLightweightSectionBuilder

  • CreateLightweightSectionBuilder(view)
  • CreateLightweightSectionBuilder(section)

-------------------------------------

Creates a NXOpen.Annotations.LightweightSectionBuilder

Signature CreateLightweightSectionBuilder(view)

Parameters:view (NXOpen.Annotations.LightweightSection) – the lightweight section to be edited, if Annotations.LightweightSection.NULL, then create a lightweight section
Returns:
Return type:NXOpen.Annotations.LightweightSectionBuilder

New in version NX7.5.0.

License requirements: None.

-------------------------------------

FindObject

PmiLightweightSectionCollection.FindObject

Finds the lightweight section with the given name.

An exception will be thrown if no object can be found with given name

Signature FindObject(name)

Parameters:name (str) – Name of the lightweight section to be found
Returns:Lightweight section with this name
Return type:NXOpen.Annotations.LightweightSection

New in version NX7.5.0.

License requirements: None.