BaseSectionCollection Class¶
-
class
NXOpen.Motion.
BaseSectionCollection
¶ Bases:
object
Represents a collection of BaseSections
To obtain an instance of this class, refer to
NXOpen.Motion.MotionManager
New in version NX12.0.0.
Methods¶
Method | Description |
---|---|
CreateStandardSectionBuilder | Creates a Motion.StandardSectionBuilder |
CreateUserDefinedSectionBuilder | Creates a Motion.UserDefinedSectionBuilder |
FindObject | Finds the NXOpen.Motion.BaseSection with the given name. |
Method Detail¶
CreateStandardSectionBuilder¶
-
BaseSectionCollection.
CreateStandardSectionBuilder
¶ Creates a
Motion.StandardSectionBuilder
Signature
CreateStandardSectionBuilder(standardSection)
Parameters: standardSection ( NXOpen.Motion.StandardSection
) –NXOpen.Motion.StandardSection
to be edited, if None then create a new oneReturns: StandardSectionBuilder object Return type: NXOpen.Motion.StandardSectionBuilder
New in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)
CreateUserDefinedSectionBuilder¶
-
BaseSectionCollection.
CreateUserDefinedSectionBuilder
¶ Creates a
Motion.UserDefinedSectionBuilder
Signature
CreateUserDefinedSectionBuilder(userDefinedSection)
Parameters: userDefinedSection ( NXOpen.Motion.UserDefinedSection
) –NXOpen.Motion.UserDefinedSection
to be edited, if None then create a new oneReturns: UserDefinedSectionBuilder object Return type: NXOpen.Motion.UserDefinedSectionBuilder
New in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)
FindObject¶
-
BaseSectionCollection.
FindObject
¶ Finds the
NXOpen.Motion.BaseSection
with the given name.An exception will be thrown if no object can be found with given name.
Signature
FindObject(name)
Parameters: name (str) – The name of the NXOpen.Motion.BaseSection
Returns: NXOpen.Motion.BaseSection
with this nameReturn type: NXOpen.Motion.BaseSection
New in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)