NXOpen .NET Reference Guide
1899
|
Represents a collection of dynamic section objects More...
Public Member Functions | |
unsafe NXOpen.Display.DynamicSection[] | CopySections (NXOpen.Display.DynamicSection[] sections, bool deleteOriginals) |
Copies the specified dynamic sections in the part. More... | |
unsafe NXOpen.Display.DynamicSectionBuilder | CreateSectionBuilder (NXOpen.Display.DynamicSection section, NXOpen.ModelingView view) |
Creates a NXOpen.Display.DynamicSectionBuilder object if the section is a null reference (Nothing in Visual Basic). More... | |
unsafe NXOpen.Display.DynamicSectionBuilder | CreateSectionBuilder (NXOpen.ModelingView view) |
Creates a NXOpen.Display.DynamicSectionBuilder object that is used to edit a section object in the specified view. More... | |
unsafe void | DeleteSections (bool addUndoMark, NXOpen.Display.DynamicSection[] sections) |
Deletes the specified dynamic sections in the part. More... | |
unsafe NXOpen.Display.DynamicSection | FindObject (string journalIdentifier) |
Finds the NXOpen.Display.DynamicSection with the given identifier as recorded in a journal. More... | |
unsafe void | MoveToDefaultLayer (NXOpen.Display.DynamicSection[] dynamicSections) |
Moves the specified dynamic sections in the part to default layer. More... | |
NXOpen.Display.DynamicSection[] | ToArray () |
Returns an array of NXOpen.Display.DynamicSection objects. More... | |
Public Member Functions inherited from NXOpen.TaggedObjectCollection | |
IEnumerator | GetEnumerator () |
Returns an enumerator that iterates through a collection. More... | |
Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageCtrl | AsyncProcessMessage (IMessage msg, IMessageSink replySink) |
Asynchronously processes the given message. More... | |
IMessage | SyncProcessMessage (IMessage msg) |
Synchronously processes the given message. More... | |
Protected Member Functions | |
override int | EnumerateMoveNext (ref Tag currentTag, byte[] state) |
Advances the enumerator to the next element of the collection. More... | |
Protected Member Functions inherited from NXOpen.TaggedObjectCollection | |
new void | initialize () |
<exclude> More... | |
Protected Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
void | initialize () |
<exclude> More... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Represents a collection of dynamic section objects
To obtain an instance of this class, refer to NXOpen.BasePart
Created in NX6.0.0
|
inline |
Copies the specified dynamic sections in the part.
A copy of each specified dynamic section will be created and then added to the part. It is ensured that each dynamic section object in the part has a unique name. Hence, it is possible that the name of a pasted section object is different from that of the input section object if its name clashes with an existing section object in the part.
The section objects being copied must have been loaded in the memory. Otherwise this method will throw an exception.
Created in NX6.0.0
License requirements: None.
sections | The objects to be pasted in the part |
deleteOriginals | Flag indicating whether the input sections should be deleted |
|
inline |
Creates a NXOpen.Display.DynamicSectionBuilder object if the section is a null reference (Nothing in Visual Basic).
Otherwise, a Section object will be edited.
The specified view can be a null reference (Nothing in Visual Basic), in which case the section object is not activated in any view.
Created in NX6.0.0
License requirements: None.
section | |
view |
|
inline |
Creates a NXOpen.Display.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.
The specified view can not be a null reference (Nothing in Visual Basic), otherwise an exception will be raised.
Created in NX6.0.0
License requirements: None.
view |
|
inline |
Deletes the specified dynamic sections in the part.
All views in which the dynamic sections were active are updated to reflect the change. An update will be performed to remove deleted objects.
Created in NX8.0.0
License requirements: None.
addUndoMark | Determines if a visible undo mark is added |
sections | The dynamic sections to be deleted |
|
inlineprotectedvirtual |
Advances the enumerator to the next element of the collection.
Implements NXOpen.TaggedObjectCollection.
|
inline |
Finds the NXOpen.Display.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.
An exception will be thrown if no object can be found with the given journal identifier.
Created in NX6.0.0
License requirements: None.
journalIdentifier | Identifier to be found |
|
inline |
Moves the specified dynamic sections in the part to default layer.
The default settings are obtained from the view sectioning customer defaults.
Created in NX9.0.0
License requirements: None.
dynamicSections | The dynamic sections to be modified |
|
inline |
Returns an array of NXOpen.Display.DynamicSection objects.
|
get |
Returns the tag of this object.