NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::Display::IDynamicSectionCutCreator Class Referenceabstract

Represents a dynamic section-cut creator that generates dynamic section-cuts (see NXOpen::Display::DynamicSectionCut ). More...

Inheritance diagram for NXOpen::Display::IDynamicSectionCutCreator:
NXOpen::INXObject NXOpen::Display::DynamicSection NXOpen::Display::Grid NXOpen::Annotations::LightweightSection NXOpen::Display::BoundedGrid NXOpen::Display::DatumPlaneGrid NXOpen::Display::PlaneGrid

Public Member Functions

virtual
NXOpen::Display::DynamicSectionCut
Find (const NXString &journalIdentifier)=0
 Finds the NXOpen::Display::DynamicSectionCut with the given identifier as recorded in a journal. More...
 
virtual
NXOpen::Display::DynamicSectionCut
Find (const char *journalIdentifier)=0
 Finds the NXOpen::Display::DynamicSectionCut with the given identifier as recorded in a journal. More...
 
virtual void GetSectionCuts (NXOpen::NXObject *contextOccurrence, NXOpen::View *view, std::vector< NXOpen::Display::DynamicSectionCut * > &sectionCuts)=0
 Gets section-cuts generated by the sectioning the model shown in the specified view. More...
 
- Public Member Functions inherited from NXOpen::INXObject
virtual NXOpen::INXObjectFindObject (const NXString &journalIdentifier)=0
 Finds the NXOpen::NXObject with the given identifier as recorded in a journal. More...
 
virtual NXOpen::INXObjectFindObject (const char *journalIdentifier)=0
 Finds the NXOpen::NXObject with the given identifier as recorded in a journal. More...
 
virtual bool IsOccurrence ()=0
 Returns whether this object is an occurrence or not. More...
 
virtual NXString JournalIdentifier ()=0
 Returns the identifier that would be recorded in a journal for this object. More...
 
virtual NXString Name ()=0
 Returns the custom name of the object. More...
 
virtual
NXOpen::Assemblies::Component
OwningComponent ()=0
 Returns the owning component, if this object is an occurrence. More...
 
virtual NXOpen::BasePartOwningPart ()=0
 Returns the owning part of this object
Created in NX3.0.0. More...
 
virtual void Print ()=0
 Prints a representation of this object to the system log file. More...
 
virtual NXOpen::INXObjectPrototype ()=0
 Returns the prototype of this object if it is an occurrence. More...
 
virtual void SetName (const NXString &name)=0
 Sets the custom name of the object. More...
 
virtual void SetName (const char *name)=0
 Sets the custom name of the object. More...
 

Detailed Description

Represents a dynamic section-cut creator that generates dynamic section-cuts (see NXOpen::Display::DynamicSectionCut ).


Examples of dynamic section-cut creator are: NXOpen::Display::DynamicSection NXOpen::Display::Grid

Dynamic sectioncut creator is not supported in KF.

Created in NX10.0.0.

Member Function Documentation

virtual NXOpen::Display::DynamicSectionCut* NXOpen::Display::IDynamicSectionCutCreator::Find ( const NXString journalIdentifier)
pure virtual

Finds the NXOpen::Display::DynamicSectionCut 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.

Returns

Created in NX10.0.0.

License requirements : None
Parameters
journalIdentifierJournal identifier

Implemented in NXOpen::Display::DynamicSection, and NXOpen::Display::Grid.

virtual NXOpen::Display::DynamicSectionCut* NXOpen::Display::IDynamicSectionCutCreator::Find ( const char *  journalIdentifier)
pure virtual

Finds the NXOpen::Display::DynamicSectionCut 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.

Returns

Created in NX10.0.0.

License requirements : None
Parameters
journalIdentifierJournal identifier

Implemented in NXOpen::Display::DynamicSection, and NXOpen::Display::Grid.

virtual void NXOpen::Display::IDynamicSectionCutCreator::GetSectionCuts ( NXOpen::NXObject contextOccurrence,
NXOpen::View view,
std::vector< NXOpen::Display::DynamicSectionCut * > &  sectionCuts 
)
pure virtual

Gets section-cuts generated by the sectioning the model shown in the specified view.

View must belong to the same part as the section-cut creator. If no view is specified, then section-cuts generated from the sectionable entities in the part are returned.

If a view is specified, then NXOpen::Assemblies::Explosion active in the view is used to get section-cuts for the explosion. If the view does not have any active explosion, then section-cuts generated from the sectionable entities in the part are returned.


Created in NX10.0.0.

License requirements : None

Parameters
contextOccurrenceThis can be NULL. If non NULL, then this must be an occurrence.
viewview
sectionCutssectioncuts

Implemented in NXOpen::Display::DynamicSection, and NXOpen::Display::Grid.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.