NX Open C++ Reference Guide
|
A composite block is a block that contains other blocks
Created in NX6.0.0.
More...
Public Member Functions | |
NXString | Cue () |
Returns the Cue Created in NX8.5.0. | |
int | DialogSizing () |
Returns the Dialog Sizing Created in NX8.5.0. | |
NXString | DialogSizingAsString () |
Returns the Dialog Sizing as string Created in NX8.5.0. | |
NXOpen::BlockStyler::UIBlock * | FindBlock (const NXString &blockName) |
Finds a block contained in the composite block. | |
NXOpen::BlockStyler::UIBlock * | FindBlock (const char *blockName) |
Finds a block contained in the composite block. | |
std::vector < NXOpen::BlockStyler::UIBlock * > | GetBlocks () |
Gets all the blocks available in the composite block. | |
std::vector< NXString > | GetDialogSizingMembers () |
Gets the Dialog Sizing members. | |
std::vector< NXString > | GetNavigationStyleMembers () |
Gets the Navigation Style members. | |
NXOpen::BlockStyler::UIBlock * | LastUpdated () |
Returns the block contained in the composite block that was last updated. | |
int | NavigationStyle () |
Returns the Navigation Style Created in NX8.5.0. | |
NXString | NavigationStyleAsString () |
Returns the Navigation Style as string Created in NX8.5.0. | |
void | SetCue (const NXString &cue) |
Sets the Cue Created in NX8.5.0. | |
void | SetCue (const char *cue) |
Sets the Cue Created in NX8.5.0. | |
void | SetDialogSizing (int enumIndex) |
Sets the Dialog Sizing Created in NX8.5.0. | |
void | SetDialogSizingAsString (const NXString &enumString) |
Sets the Dialog Sizing as string Created in NX8.5.0. | |
void | SetDialogSizingAsString (const char *enumString) |
Sets the Dialog Sizing as string Created in NX8.5.0. | |
![]() | |
bool | Enable () |
Returns the Enable. | |
bool | Expanded () |
Returns the Expanded Created in NX8.5.0. | |
void | Focus () |
Focuses on the block. | |
NXOpen::BlockStyler::PropertyList * | GetProperties () |
Returns the properties of the block. | |
bool | Group () |
Returns the Group Created in NX8.5.0. | |
NXString | Label () |
Returns the Label Created in NX8.5.0. | |
NXString | Name () |
Returns the name of the block or BlockID Created in NX6.0.0. | |
void | SetEnable (bool enable) |
Sets the Enable. | |
void | SetExpanded (bool expanded) |
Sets the Expanded Created in NX8.5.0. | |
void | SetGroup (bool group) |
Sets the Group Created in NX8.5.0. | |
void | SetLabel (const NXString &label) |
Sets the Label Created in NX8.5.0. | |
void | SetLabel (const char *label) |
Sets the Label Created in NX8.5.0. | |
void | SetShow (bool show) |
Sets the Visibility of block. | |
bool | Show () |
Returns the Visibility of block. | |
NXString | Type () |
Returns the type of block Created in NX6.0.0. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
A composite block is a block that contains other blocks
Created in NX6.0.0.
NXString NXOpen::BlockStyler::CompositeBlock::Cue | ( | ) |
Returns the Cue
Created in NX8.5.0.
License requirements : None
int NXOpen::BlockStyler::CompositeBlock::DialogSizing | ( | ) |
Returns the Dialog Sizing
Created in NX8.5.0.
License requirements : None
NXString NXOpen::BlockStyler::CompositeBlock::DialogSizingAsString | ( | ) |
Returns the Dialog Sizing as string
Created in NX8.5.0.
License requirements : None
NXOpen::BlockStyler::UIBlock* NXOpen::BlockStyler::CompositeBlock::FindBlock | ( | const NXString & | blockName | ) |
Finds a block contained in the composite block.
Throws an exception if block not present
blockName | Block name NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::BlockStyler::UIBlock* NXOpen::BlockStyler::CompositeBlock::FindBlock | ( | const char * | blockName | ) |
Finds a block contained in the composite block.
Throws an exception if block not present
blockName | Block name NOTE: The full Unicode character set is not supported for this parameter. |
std::vector<NXOpen::BlockStyler::UIBlock *> NXOpen::BlockStyler::CompositeBlock::GetBlocks | ( | ) |
Gets all the blocks available in the composite block.
std::vector<NXString> NXOpen::BlockStyler::CompositeBlock::GetDialogSizingMembers | ( | ) |
Gets the Dialog Sizing members.
std::vector<NXString> NXOpen::BlockStyler::CompositeBlock::GetNavigationStyleMembers | ( | ) |
Gets the Navigation Style members.
NXOpen::BlockStyler::UIBlock* NXOpen::BlockStyler::CompositeBlock::LastUpdated | ( | ) |
Returns the block contained in the composite block that was last updated.
For example, if the CompositeBlock is an item contained in a SetList and your update handler is notified that the CompositeBlock has been updated, this method returns which block inside the CompositeBlock has been updated.
Created in NX6.0.0.
License requirements : None
int NXOpen::BlockStyler::CompositeBlock::NavigationStyle | ( | ) |
Returns the Navigation Style
Created in NX8.5.0.
License requirements : None
NXString NXOpen::BlockStyler::CompositeBlock::NavigationStyleAsString | ( | ) |
Returns the Navigation Style as string
Created in NX8.5.0.
License requirements : None
void NXOpen::BlockStyler::CompositeBlock::SetCue | ( | const NXString & | cue | ) |
Sets the Cue
Created in NX8.5.0.
License requirements : None
cue | cue |
void NXOpen::BlockStyler::CompositeBlock::SetCue | ( | const char * | cue | ) |
Sets the Cue
Created in NX8.5.0.
License requirements : None
cue | cue |
void NXOpen::BlockStyler::CompositeBlock::SetDialogSizing | ( | int | enumIndex | ) |
Sets the Dialog Sizing
Created in NX8.5.0.
License requirements : None
enumIndex | enumindex |
void NXOpen::BlockStyler::CompositeBlock::SetDialogSizingAsString | ( | const NXString & | enumString | ) |
Sets the Dialog Sizing as string
Created in NX8.5.0.
License requirements : None
enumString | enumstring |
void NXOpen::BlockStyler::CompositeBlock::SetDialogSizingAsString | ( | const char * | enumString | ) |
Sets the Dialog Sizing as string
Created in NX8.5.0.
License requirements : None
enumString | enumstring |