NXOpen C++ Reference Guide
|
Represents a collection of NXOpen::Layout2d::Component s. More...
Classes | |
class | iterator |
Iterator for accessing the contents of the collection. More... | |
Represents a collection of NXOpen::Layout2d::Component s.
To obtain an instance of this class, refer to NXOpen::Part
Created in NX10.0.0.
iterator NXOpen::Layout2d::ComponentCollection::begin | ( | ) |
Returns an iterator addressing the first element.
NXOpen::Layout2d::AssemblyFromLayout2dBuilder* NXOpen::Layout2d::ComponentCollection::CreateAssemblyFromLayout2dBuilder | ( | ) |
Creates a NXOpen::Layout2d::AssemblyFromLayout2dBuilder that can create assembly from the selected layout.
Created in NX10.0.0.
License requirements : nx_layout ("NX Layout")
NXOpen::Layout2d::AssociativeAssemblyBuilder* NXOpen::Layout2d::ComponentCollection::CreateAssociativeAssemblyBuilder | ( | ) |
Creates a NXOpen::Layout2d::AssociativeAssemblyBuilder
Created in NX1847.0.0.
License requirements : nx_layout ("NX Layout")
NXOpen::Layout2d::CreateComponentFrom3DBuilder* NXOpen::Layout2d::ComponentCollection::CreateComponentFrom3dBuilder | ( | NXOpen::View * | myView | ) |
Creates a NXOpen::Layout2d::CreateComponentFrom3DBuilder that can create assembly from the selected layout.
Created in NX11.0.0.
License requirements : nx_layout ("NX Layout")
myView | myview |
NXOpen::Layout2d::DefineComponentAnchorPointBuilder* NXOpen::Layout2d::ComponentCollection::CreateDefineComponentAnchorPointBuilder | ( | ) |
Creates a NXOpen::Layout2d::DefineComponentAnchorPointBuilder that can define the Anchor Point location of a 2D Component.
Created in NX10.0.0.
License requirements : nx_layout ("NX Layout")
NXOpen::Layout2d::DefineComponentBuilder* NXOpen::Layout2d::ComponentCollection::CreateDefineComponentBuilder | ( | NXOpen::Layout2d::Component * | component | ) |
Creates a NXOpen::Layout2d::DefineComponentBuilder that can create a fully defined 2D Component with specified content, anchor point, name and reuse library destination folder.
Created in NX10.0.0.
License requirements : nx_layout ("NX Layout")
component | the component to be edited, NULL in case of new component view. |
NXOpen::Layout2d::ExportComponentHierarchyBuilder* NXOpen::Layout2d::ComponentCollection::CreateExportComponentHierarchyBuilder | ( | ) |
Creates a NXOpen::Layout2d::ExportComponentHierarchyBuilder
Created in NX11.0.0.
License requirements : nx_layout ("NX Layout")
NXOpen::Layout2d::InsertComponentBuilder* NXOpen::Layout2d::ComponentCollection::CreateInsertComponentBuilder | ( | ) |
Creates a NXOpen::Layout2d::InsertComponentBuilder that inserts a 2D Component instance in the active sketch.
Created in NX10.0.0.
License requirements : nx_layout ("NX Layout")
NXOpen::Layout2d::MakeComponentUniqueBuilder* NXOpen::Layout2d::ComponentCollection::CreateMakeComponentUniqueBuilder | ( | ) |
Creates a NXOpen::Layout2d::MakeComponentUniqueBuilder that can create definition for the selected 2D Component instance.
Created in NX10.0.0.
License requirements : nx_layout ("NX Layout")
NXOpen::Layout2d::NewComponentBuilder* NXOpen::Layout2d::ComponentCollection::CreateNewComponentBuilder | ( | ) |
Creates a NXOpen::Layout2d::NewComponentBuilder that creates an empty 2D Component instance and stores its definition in local 2D Component folder.
Created in NX10.0.0.
License requirements : nx_layout ("NX Layout")
NXOpen::Layout2d::PublishComponentBuilder* NXOpen::Layout2d::ComponentCollection::CreatePublishComponentBuilder | ( | ) |
Creates a NXOpen::Layout2d::PublishComponentBuilder that can export local definitions into external storage locations.
Created in NX10.0.0.
License requirements : nx_layout ("NX Layout")
NXOpen::Layout2d::ReparentComponentBuilder* NXOpen::Layout2d::ComponentCollection::CreateReparentComponentBuilder | ( | ) |
Creates a NXOpen::Layout2d::ReplaceComponentBuilder that can reparent the selected 2D Component instance with another 2D Component or sketch
Created in NX11.0.0.
License requirements : nx_layout ("NX Layout")
NXOpen::Layout2d::ReplaceComponentBuilder* NXOpen::Layout2d::ComponentCollection::CreateReplaceComponentBuilder | ( | ) |
Creates a NXOpen::Layout2d::ReplaceComponentBuilder that can replace the selected 2D Component instance with another 2D Component definition.
Created in NX10.0.0.
License requirements : nx_layout ("NX Layout")
NXOpen::Layout2d::SmashComponentBuilder* NXOpen::Layout2d::ComponentCollection::CreateSmashComponentBuilder | ( | ) |
Creates a NXOpen::Layout2d::SmashComponentBuilder that can smash the selected 2D Component instance.
Created in NX10.0.0.
License requirements : nx_layout ("NX Layout")
void NXOpen::Layout2d::ComponentCollection::DeleteComponents | ( | const std::vector< NXOpen::Layout2d::Component * > & | components | ) |
Deletes a list of 2D Components
Created in NX10.0.0.
License requirements : nx_layout ("NX Layout")
components | components |
iterator NXOpen::Layout2d::ComponentCollection::end | ( | ) |
Returns an iterator addressing one past the last element.
NXOpen::Layout2d::Component* NXOpen::Layout2d::ComponentCollection::FindObject | ( | const NXString & | journalIdentifier | ) |
Finds the NXOpen::Layout2d::Component 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.
journalIdentifier | Identifier of the 2D Component to be found |
NXOpen::Layout2d::Component* NXOpen::Layout2d::ComponentCollection::FindObject | ( | const char * | journalIdentifier | ) |
Finds the NXOpen::Layout2d::Component 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.
journalIdentifier | Identifier of the 2D Component to be found |
bool NXOpen::Layout2d::ComponentCollection::IsComponentMember | ( | NXOpen::DisplayableObject * | disObject | ) |
Verify if the object belong to this component.
disObject | disobject |
NXOpen::Drawings::OrderManager* NXOpen::Layout2d::ComponentCollection::OrderManagers | ( | ) |
Returns the OrderManager for part
Created in NX11.0.0.
tag_t NXOpen::Layout2d::ComponentCollection::Tag | ( | ) | const |
Returns the tag of this object.
void NXOpen::Layout2d::ComponentCollection::UpdateComponentHierarchy | ( | const std::vector< NXOpen::Layout2d::Component * > & | components | ) |
Updates 2D Components and propagates the changes to the hierarchy in given layout
Created in NX11.0.0.
License requirements : nx_layout ("NX Layout")
components | components |
void NXOpen::Layout2d::ComponentCollection::UpdateComponents | ( | const std::vector< NXOpen::Layout2d::Component * > & | components | ) |
Updates 2D Components without propagating the changes to the hierarchy in given layout
Created in NX11.0.0.
License requirements : nx_layout ("NX Layout")
components | components |