NX Open C++ Reference Guide
|
Represents a collection of Annotations::TitleBlock . More...
Classes | |
class | iterator |
Iterator for accessing the contents of the collection. More... | |
Public Member Functions | |
iterator | begin () |
Returns an iterator addressing the first element. | |
NXOpen::Annotations::TitleBlockCellBuilder * | CreateCellBuilder (NXOpen::DisplayableObject *object, bool isLocked, int contentType, const NXString &value, const NXString &label, bool canLockStatusChange) |
Creates a cell builder. | |
NXOpen::Annotations::DefineTitleBlockBuilder * | CreateDefineTitleBlockBuilder (NXOpen::Annotations::TitleBlock *titleblock) |
Creates a Annotations::DefineTitleBlockBuilder . | |
NXOpen::Annotations::EditTitleBlockBuilder * | CreateEditTitleBlockBuilder (const std::vector< NXOpen::Annotations::TitleBlock * > &titleBlocks) |
Creates a Annotations::EditTitleBlockBuilder . | |
iterator | end () |
Returns an iterator addressing one past the last element. | |
tag_t | Tag () const |
Returns the tag of this object. |
Represents a collection of Annotations::TitleBlock .
To obtain an instance of this class, refer to Drafting::DraftingApplicationManager
Created in NX8.0.0.
Returns an iterator addressing the first element.
NXOpen::Annotations::TitleBlockCellBuilder* NXOpen::Annotations::TitleBlockCollection::CreateCellBuilder | ( | NXOpen::DisplayableObject * | object, |
bool | isLocked, | ||
int | contentType, | ||
const NXString & | value, | ||
const NXString & | label, | ||
bool | canLockStatusChange | ||
) |
Creates a cell builder.
object | object |
isLocked | islocked |
contentType | contenttype |
value | value |
label | label |
canLockStatusChange | canlockstatuschange |
NXOpen::Annotations::DefineTitleBlockBuilder* NXOpen::Annotations::TitleBlockCollection::CreateDefineTitleBlockBuilder | ( | NXOpen::Annotations::TitleBlock * | titleblock | ) |
Creates a Annotations::DefineTitleBlockBuilder .
This builder provides functions to create a new title block from tabular notes or add/remove tabular notes from existing title block. It also permits user to edit label and lock status of cells. If you want to edit values of cells in existing title block, please use Annotations::EditTitleBlockBuilder .
titleblock | titleblock |
NXOpen::Annotations::EditTitleBlockBuilder* NXOpen::Annotations::TitleBlockCollection::CreateEditTitleBlockBuilder | ( | const std::vector< NXOpen::Annotations::TitleBlock * > & | titleBlocks | ) |
Creates a Annotations::EditTitleBlockBuilder .
This builder provides functions for editing values of unlocked cells in one or more title blocks. If you want to create a new title block from tabular notes or add/remove tabular notes from existing title block, please use Annotations::DefineTitleBlockBuilder .
titleBlocks | titleblocks |
Returns an iterator addressing one past the last element.
tag_t NXOpen::Annotations::TitleBlockCollection::Tag | ( | ) | const |
Returns the tag of this object.