NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::Annotations::MasterSymbolBuilder Class Reference

Represents a Builder for MasterSymbol functionality
To create a new instance of this class, use NXOpen::Annotations::CustomSymbolCollection::CreateMasterSymbolBuilder
Default values. More...

Inheritance diagram for NXOpen::Annotations::MasterSymbolBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  LeaderAttachmentType { LeaderAttachmentTypeLeft, LeaderAttachmentTypeRight }
 The Enum for Attachment options. More...
 

Public Member Functions

NXOpen::PointAnchorPoint ()
 Returns the anchor point
Created in NX7.5.0. More...
 
NXOpen::SelectNXObjectListContents ()
 Returns the select object
Created in NX7.5.0. More...
 
NXOpen::Annotations::MasterSymbolListItemBuilderCreateNewListItem (NXOpen::Annotations::Annotation *noteTag, const std::vector< NXString > &notes)
 Create Master Symbol list item builder. More...
 
void EditImage (NXOpen::Annotations::MasterSymbol *currentSymbolTag, const NXString &newImageName)
 Changes symbol image
Created in NX7.5.0. More...
 
void EditImage (NXOpen::Annotations::MasterSymbol *currentSymbolTag, const char *newImageName)
 Changes symbol image
Created in NX7.5.0. More...
 
void GenerateItemNumber ()
 Item number assign button. More...
 
void GenerateRevision ()
 Revision assign button, This will generate the revision number, valid in team center
More...
 
NXOpen::PointGetLeaderAttachmentPoint (NXOpen::Annotations::MasterSymbolBuilder::LeaderAttachmentType attachmentType)
 Getting Leader attachment point from builder side. More...
 
std::vector< NXStringGetMultilineString ()
 Returns the multiple notes for a given Text Type. More...
 
NXOpen::PDM::PartOperationCreateBuilderGetPartOperationCreateBuilder ()
 Gets NXOpen::PDM::PartOperationBuilder. More...
 
NXOpen::Gateway::ImageCaptureBuilderImageCapture ()
 Returns the image capture builder
Created in NX7.5.0. More...
 
NXString ImageName ()
 Returns the symbol image name
Created in NX7.5.0. More...
 
NXString ItemName ()
 Returns the Item Name, valid in team center
More...
 
NXString ItemNumber ()
 Returns the item number, valid in team center
More...
 
NXOpen::NXObjectListNoteList ()
 Returns the note list
Created in NX7.5.0. More...
 
NXString PartFileName ()
 Returns the part file name
Created in NX7.5.0. More...
 
void Rename (NXOpen::Annotations::MasterSymbol *currentSymbolTag, const NXString &newSymbolName)
 Renames symbol
Created in NX7.5.0. More...
 
void Rename (NXOpen::Annotations::MasterSymbol *currentSymbolTag, const char *newSymbolName)
 Renames symbol
Created in NX7.5.0. More...
 
NXString Revision ()
 Returns the revision, valid in team center
More...
 
void SetAnchorPoint (NXOpen::Point *anchorPoint)
 Sets the anchor point
Created in NX7.5.0. More...
 
void SetImageName (const NXString &imageName)
 Sets the symbol image name
Created in NX7.5.0. More...
 
void SetImageName (const char *imageName)
 Sets the symbol image name
Created in NX7.5.0. More...
 
void SetIsPartSymbol (bool isPartSymbol)
 Sets if it is part symbol
Created in NX7.5.0. More...
 
void SetItemName (const NXString &itemName)
 Sets the Item Name, valid in team center
More...
 
void SetItemName (const char *itemName)
 Sets the Item Name, valid in team center
More...
 
void SetItemNumber (const NXString &itemNumber)
 Sets the item number, valid in team center
More...
 
void SetItemNumber (const char *itemNumber)
 Sets the item number, valid in team center
More...
 
void SetLeaderAttachmentPoint (NXOpen::Annotations::MasterSymbolBuilder::LeaderAttachmentType attachmentType, NXOpen::Point *leaderAttachmentPoint)
 Setting Leader attachment point on builder side
Created in NX7.5.0. More...
 
void SetPartFileName (const NXString &partFileName)
 Sets the part file name
Created in NX7.5.0. More...
 
void SetPartFileName (const char *partFileName)
 Sets the part file name
Created in NX7.5.0. More...
 
void SetPartOperationCreateBuilder (NXOpen::PDM::PartOperationCreateBuilder *partOperationBuilder)
 Sets NXOpen::PDM::PartOperationBuilder
Created in NX10.0.0. More...
 
void SetPath (const NXString &path)
 Setting Path retrieved from Global method at builder side
Created in NX7.5.0. More...
 
void SetPath (const char *path)
 Setting Path retrieved from Global method at builder side
Created in NX7.5.0. More...
 
void SetRevision (const NXString &revision)
 Sets the revision, valid in team center
More...
 
void SetRevision (const char *revision)
 Sets the revision, valid in team center
More...
 
void SetSymbolName (const NXString &symbolName)
 Sets the JA method support for accessing and setting Symbol Name value
Created in NX7.5.0. More...
 
void SetSymbolName (const char *symbolName)
 Sets the JA method support for accessing and setting Symbol Name value
Created in NX7.5.0. More...
 
NXString SymbolName ()
 Returns the JA method support for accessing and setting Symbol Name value
Created in NX7.5.0. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents a Builder for MasterSymbol functionality
To create a new instance of this class, use NXOpen::Annotations::CustomSymbolCollection::CreateMasterSymbolBuilder
Default values.

Property Value

ImageCapture.CaptureMethod

GraphicsArea

ImageCapture.Format

Bmp

ImageCapture.Size

Pixels64


Created in NX7.5.0.

Member Enumeration Documentation

The Enum for Attachment options.

Enumerator
LeaderAttachmentTypeLeft 

Left Attachment.

LeaderAttachmentTypeRight 

Right Attachment.

Member Function Documentation

NXOpen::Point* NXOpen::Annotations::MasterSymbolBuilder::AnchorPoint ( )

Returns the anchor point
Created in NX7.5.0.



License requirements : None

NXOpen::SelectNXObjectList* NXOpen::Annotations::MasterSymbolBuilder::Contents ( )

Returns the select object
Created in NX7.5.0.



License requirements : None

NXOpen::Annotations::MasterSymbolListItemBuilder* NXOpen::Annotations::MasterSymbolBuilder::CreateNewListItem ( NXOpen::Annotations::Annotation noteTag,
const std::vector< NXString > &  notes 
)

Create Master Symbol list item builder.

Returns

Created in NX7.5.0.

License requirements : None
Parameters
noteTagnotetag
notesname of the solution
void NXOpen::Annotations::MasterSymbolBuilder::EditImage ( NXOpen::Annotations::MasterSymbol currentSymbolTag,
const NXString newImageName 
)

Changes symbol image
Created in NX7.5.0.



License requirements : drafting ("DRAFTING")

Parameters
currentSymbolTagsymbol Tag
newImageNameNew image name
void NXOpen::Annotations::MasterSymbolBuilder::EditImage ( NXOpen::Annotations::MasterSymbol currentSymbolTag,
const char *  newImageName 
)

Changes symbol image
Created in NX7.5.0.



License requirements : drafting ("DRAFTING")

Parameters
currentSymbolTagsymbol Tag
newImageNameNew image name
void NXOpen::Annotations::MasterSymbolBuilder::GenerateItemNumber ( )

Item number assign button.

This will generate the item number, valid in team center

Deprecated:
Deprecated in NX10.0.0. Use NXOpen::Annotations::MasterSymbolBuilder::SetItemNumber instead.


Created in NX7.5.0.

License requirements : drafting ("DRAFTING")

void NXOpen::Annotations::MasterSymbolBuilder::GenerateRevision ( )

Revision assign button, This will generate the revision number, valid in team center

Deprecated:
Deprecated in NX10.0.0.

Use NXOpen::Annotations::MasterSymbolBuilder::SetRevision instead.


Created in NX7.5.0.

License requirements : drafting ("DRAFTING")

NXOpen::Point* NXOpen::Annotations::MasterSymbolBuilder::GetLeaderAttachmentPoint ( NXOpen::Annotations::MasterSymbolBuilder::LeaderAttachmentType  attachmentType)

Getting Leader attachment point from builder side.

Returns

Created in NX7.5.0.

License requirements : None
Parameters
attachmentTypeAttachment type either of left or right
std::vector<NXString> NXOpen::Annotations::MasterSymbolBuilder::GetMultilineString ( )

Returns the multiple notes for a given Text Type.

This property is valid if NXOpen::Annotations::MasterSymbolListItemBuilder::TextType is either of controlled, partially controlled or arbitory

Returns
Multiple notes as Output
Created in NX7.5.0.

License requirements : None
NXOpen::PDM::PartOperationCreateBuilder* NXOpen::Annotations::MasterSymbolBuilder::GetPartOperationCreateBuilder ( )

Gets NXOpen::PDM::PartOperationBuilder.

Returns

Created in NX10.0.0.

License requirements : None
NXOpen::Gateway::ImageCaptureBuilder* NXOpen::Annotations::MasterSymbolBuilder::ImageCapture ( )

Returns the image capture builder
Created in NX7.5.0.



License requirements : None

NXString NXOpen::Annotations::MasterSymbolBuilder::ImageName ( )

Returns the symbol image name
Created in NX7.5.0.



License requirements : None

NXString NXOpen::Annotations::MasterSymbolBuilder::ItemName ( )

Returns the Item Name, valid in team center

Deprecated:
Deprecated in NX10.0.0.

Use NXOpen::PDM::PartOperationCreateBuilder instead.


Created in NX7.5.0.

License requirements : None

NXString NXOpen::Annotations::MasterSymbolBuilder::ItemNumber ( )

Returns the item number, valid in team center

Deprecated:
Deprecated in NX10.0.0.

Use NXOpen::PDM::PartOperationCreateBuilder instead.


Created in NX7.5.0.

License requirements : None

NXOpen::NXObjectList* NXOpen::Annotations::MasterSymbolBuilder::NoteList ( )

Returns the note list
Created in NX7.5.0.



License requirements : None

NXString NXOpen::Annotations::MasterSymbolBuilder::PartFileName ( )

Returns the part file name
Created in NX7.5.0.



License requirements : None

void NXOpen::Annotations::MasterSymbolBuilder::Rename ( NXOpen::Annotations::MasterSymbol currentSymbolTag,
const NXString newSymbolName 
)

Renames symbol
Created in NX7.5.0.



License requirements : drafting ("DRAFTING")

Parameters
currentSymbolTagsymbol Tag
newSymbolNameNew symbol name
void NXOpen::Annotations::MasterSymbolBuilder::Rename ( NXOpen::Annotations::MasterSymbol currentSymbolTag,
const char *  newSymbolName 
)

Renames symbol
Created in NX7.5.0.



License requirements : drafting ("DRAFTING")

Parameters
currentSymbolTagsymbol Tag
newSymbolNameNew symbol name
NXString NXOpen::Annotations::MasterSymbolBuilder::Revision ( )

Returns the revision, valid in team center

Deprecated:
Deprecated in NX10.0.0.

Use NXOpen::PDM::PartOperationCreateBuilder instead.


Created in NX7.5.0.

License requirements : None

void NXOpen::Annotations::MasterSymbolBuilder::SetAnchorPoint ( NXOpen::Point anchorPoint)

Sets the anchor point
Created in NX7.5.0.



License requirements : drafting ("DRAFTING")

Parameters
anchorPointanchorpoint
void NXOpen::Annotations::MasterSymbolBuilder::SetImageName ( const NXString imageName)

Sets the symbol image name
Created in NX7.5.0.



License requirements : drafting ("DRAFTING")

Parameters
imageNameimagename
void NXOpen::Annotations::MasterSymbolBuilder::SetImageName ( const char *  imageName)

Sets the symbol image name
Created in NX7.5.0.



License requirements : drafting ("DRAFTING")

Parameters
imageNameimagename
void NXOpen::Annotations::MasterSymbolBuilder::SetIsPartSymbol ( bool  isPartSymbol)

Sets if it is part symbol
Created in NX7.5.0.



License requirements : drafting ("DRAFTING")

Parameters
isPartSymbolTrue If it is part symbol
void NXOpen::Annotations::MasterSymbolBuilder::SetItemName ( const NXString itemName)

Sets the Item Name, valid in team center

Deprecated:
Deprecated in NX10.0.0.

Use NXOpen::PDM::PartOperationCreateBuilder instead.


Created in NX7.5.0.

License requirements : drafting ("DRAFTING")

Parameters
itemNameitemname
void NXOpen::Annotations::MasterSymbolBuilder::SetItemName ( const char *  itemName)

Sets the Item Name, valid in team center

Deprecated:
Deprecated in NX10.0.0.

Use NXOpen::PDM::PartOperationCreateBuilder instead.


Created in NX7.5.0.

License requirements : drafting ("DRAFTING")

Parameters
itemNameitemname
void NXOpen::Annotations::MasterSymbolBuilder::SetItemNumber ( const NXString itemNumber)

Sets the item number, valid in team center

Deprecated:
Deprecated in NX10.0.0.

Use NXOpen::PDM::PartOperationCreateBuilder instead.


Created in NX7.5.0.

License requirements : drafting ("DRAFTING")

Parameters
itemNumberitemnumber
void NXOpen::Annotations::MasterSymbolBuilder::SetItemNumber ( const char *  itemNumber)

Sets the item number, valid in team center

Deprecated:
Deprecated in NX10.0.0.

Use NXOpen::PDM::PartOperationCreateBuilder instead.


Created in NX7.5.0.

License requirements : drafting ("DRAFTING")

Parameters
itemNumberitemnumber
void NXOpen::Annotations::MasterSymbolBuilder::SetLeaderAttachmentPoint ( NXOpen::Annotations::MasterSymbolBuilder::LeaderAttachmentType  attachmentType,
NXOpen::Point leaderAttachmentPoint 
)

Setting Leader attachment point on builder side
Created in NX7.5.0.



License requirements : drafting ("DRAFTING")

Parameters
attachmentTypeAttachment type either of left or right
leaderAttachmentPointAttachment point
void NXOpen::Annotations::MasterSymbolBuilder::SetPartFileName ( const NXString partFileName)

Sets the part file name
Created in NX7.5.0.



License requirements : drafting ("DRAFTING")

Parameters
partFileNamepartfilename
void NXOpen::Annotations::MasterSymbolBuilder::SetPartFileName ( const char *  partFileName)

Sets the part file name
Created in NX7.5.0.



License requirements : drafting ("DRAFTING")

Parameters
partFileNamepartfilename
void NXOpen::Annotations::MasterSymbolBuilder::SetPartOperationCreateBuilder ( NXOpen::PDM::PartOperationCreateBuilder partOperationBuilder)

Sets NXOpen::PDM::PartOperationBuilder
Created in NX10.0.0.



License requirements : drafting ("DRAFTING")

Parameters
partOperationBuilderpartoperationbuilder
void NXOpen::Annotations::MasterSymbolBuilder::SetPath ( const NXString path)

Setting Path retrieved from Global method at builder side
Created in NX7.5.0.



License requirements : drafting ("DRAFTING")

Parameters
pathlocation of symbol
void NXOpen::Annotations::MasterSymbolBuilder::SetPath ( const char *  path)

Setting Path retrieved from Global method at builder side
Created in NX7.5.0.



License requirements : drafting ("DRAFTING")

Parameters
pathlocation of symbol
void NXOpen::Annotations::MasterSymbolBuilder::SetRevision ( const NXString revision)

Sets the revision, valid in team center

Deprecated:
Deprecated in NX10.0.0.

Use NXOpen::PDM::PartOperationCreateBuilder instead.


Created in NX7.5.0.

License requirements : drafting ("DRAFTING")

Parameters
revisionrevision
void NXOpen::Annotations::MasterSymbolBuilder::SetRevision ( const char *  revision)

Sets the revision, valid in team center

Deprecated:
Deprecated in NX10.0.0.

Use NXOpen::PDM::PartOperationCreateBuilder instead.


Created in NX7.5.0.

License requirements : drafting ("DRAFTING")

Parameters
revisionrevision
void NXOpen::Annotations::MasterSymbolBuilder::SetSymbolName ( const NXString symbolName)

Sets the JA method support for accessing and setting Symbol Name value
Created in NX7.5.0.



License requirements : drafting ("DRAFTING")

Parameters
symbolNamesymbolname
void NXOpen::Annotations::MasterSymbolBuilder::SetSymbolName ( const char *  symbolName)

Sets the JA method support for accessing and setting Symbol Name value
Created in NX7.5.0.



License requirements : drafting ("DRAFTING")

Parameters
symbolNamesymbolname
NXString NXOpen::Annotations::MasterSymbolBuilder::SymbolName ( )

Returns the JA method support for accessing and setting Symbol Name value
Created in NX7.5.0.



License requirements : None


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