PmiLightweightSectionCollection Class¶
-
class
NXOpen.Annotations.
PmiLightweightSectionCollection
¶ Bases:
object
Represents a collection of
NXOpen.Annotations.LightweightSection
objectsTo 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 @return |
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 None, then create a lightweight sectionReturns: 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.