PmiLightweightSectionCollection Class¶
-
class
NXOpen.Annotations.PmiLightweightSectionCollection¶ Bases:
objectRepresents a collection of
NXOpen.Annotations.LightweightSectionobjectsTo obtain an instance of this class, refer to
NXOpen.Annotations.PmiManagerNew 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.LightweightSectionBuilderSignature
CreateLightweightSectionBuilder(view)Parameters: view ( NXOpen.Annotations.LightweightSection) – the lightweight section to be edited, if Annotations.LightweightSection.NULL, then create a lightweight sectionReturns: Return type: NXOpen.Annotations.LightweightSectionBuilderNew 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.LightweightSectionNew in version NX7.5.0.
License requirements: None.