public interface DynamicSectionCollection extends TaggedObjectCollection
BasePart
TaggedObjectCollection.Iterator
Modifier and Type | Method and Description |
---|---|
DynamicSection[] |
copySections(DynamicSection[] sections,
boolean deleteOriginals)
Copies the specified dynamic sections in the part.
|
DynamicSectionBuilder |
createSectionBuilder(DynamicSection section,
ModelingView view)
Creates a
DynamicSectionBuilder object if the section
is null. |
DynamicSectionBuilder |
createSectionBuilder(ModelingView view)
Creates a
DynamicSectionBuilder object that is used
to edit a section object in the specified view. |
void |
deleteSections(boolean addUndoMark,
DynamicSection[] sections)
Deletes the specified dynamic sections in the part.
|
DynamicSection |
findObject(String journalIdentifier)
Finds the
DynamicSection with the given identifier as
recorded in a journal. |
void |
moveToDefaultLayer(DynamicSection[] dynamicSections)
Moves the specified dynamic sections in the part to default layer.
|
_find_next, iterator
DynamicSectionBuilder createSectionBuilder(DynamicSection section, ModelingView view) throws NXException, RemoteException
DynamicSectionBuilder
object if the section
is null. Otherwise, a Section object will be edited.
section
- view
- NXException
RemoteException
DynamicSectionBuilder createSectionBuilder(ModelingView view) throws NXException, RemoteException
DynamicSectionBuilder
object that is used
to edit a section object in the specified view. If no section object is available
for the view, then a new one is created.
view
- NXException
RemoteException
DynamicSection[] copySections(DynamicSection[] sections, boolean deleteOriginals) throws NXException, RemoteException
sections
- The objects to be pasted in the partdeleteOriginals
- Flag indicating whether the input sections should be deletedNXException
RemoteException
void deleteSections(boolean addUndoMark, DynamicSection[] sections) throws NXException, RemoteException
addUndoMark
- Determines if a visible undo mark is addedsections
- The dynamic sections to be deletedNXException
RemoteException
DynamicSection findObject(String journalIdentifier) throws NXException, RemoteException
DynamicSection
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.
journalIdentifier
- Identifier to be foundNXException
RemoteException
void moveToDefaultLayer(DynamicSection[] dynamicSections) throws NXException, RemoteException
dynamicSections
- The dynamic sections to be modifiedNXException
RemoteException
Copyright 2016 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.