NX Open C++ Reference Guide
|
Represents a LibraryAuthoringBuilder. More...
Public Member Functions | |
NXOpen::DiagrammingLibraryAuthor::AttributeHolder * | Create3DSymbol (const NXString &instanceId, const NXString &partId, const NXString &partName, const NXString &numberName) |
Creates a new 3D symbol. More... | |
NXOpen::DiagrammingLibraryAuthor::AttributeHolder * | Create3DSymbol (const char *instanceId, const char *partId, const char *partName, const char *numberName) |
Creates a new 3D symbol. More... | |
NXOpen::DiagrammingLibraryAuthor::LineTypeBuilder * | CreateLineType () |
Creates a new line type. More... | |
void | Delete3DSymbol (NXOpen::DiagrammingLibraryAuthor::AttributeHolder *symbolObject) |
Deletes the 3D symbol which is new created Created in NX11.0.1. More... | |
void | GetSymbolObjects (std::vector< NXOpen::DiagrammingLibraryAuthor::AttributeHolder * > &symbolObjects) |
Gets the symbol objects which have user attributes of the symbol. More... | |
NXOpen::DiagrammingLibraryAuthor::LineTypeBuilderList * | LineTypes () |
Returns the list of line types. More... | |
NXOpen::DiagrammingLibraryAuthor::PipeStockBuilder * | PipeStock () |
Returns the pipe stock sub-builder. More... | |
void | SelectFolder (const NXString &classId, const NXString &symbolId) |
Selects the all symbols in the folder by the 2D symbol ID Created in NX11.0.1. More... | |
void | SelectFolder (const char *classId, const char *symbolId) |
Selects the all symbols in the folder by the 2D symbol ID Created in NX11.0.1. More... | |
void | SelectSymbol (const NXString &symbolId) |
Selects one 2D symbol or 3D symbol by the symbol ID Created in NX11.0.1. More... | |
void | SelectSymbol (const char *symbolId) |
Selects one 2D symbol or 3D symbol by the symbol ID Created in NX11.0.1. More... | |
NXOpen::DiagrammingLibraryAuthor::Symbol2DBuilder * | Symbol2D () |
Returns the symbol 2D sub-builder. More... | |
NXOpen::DiagrammingLibraryAuthor::Symbol3DBuilder * | Symbol3D () |
Returns the symbol 3D sub-builder. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
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::NXObject * | GetObject () |
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... | |
Represents a LibraryAuthoringBuilder.
Calling Builder::Commit on this builder will only return NULL.
To create a new instance of this class, use NXOpen::PID::PidManager::CreateLibraryAuthoringBuilder
Default values.
Property | Value |
---|---|
Symbol2D.Image.CaptureMethod |
GraphicsArea |
Symbol2D.Image.Format |
Bmp |
Symbol2D.Image.Size |
Pixels64 |
Created in NX11.0.1.
NXOpen::DiagrammingLibraryAuthor::AttributeHolder* NXOpen::PID::LibraryAuthoringBuilder::Create3DSymbol | ( | const NXString & | instanceId, |
const NXString & | partId, | ||
const NXString & | partName, | ||
const NXString & | numberName | ||
) |
Creates a new 3D symbol.
instanceId | instanceid |
partId | partid |
partName | partname |
numberName | numbername |
NXOpen::DiagrammingLibraryAuthor::AttributeHolder* NXOpen::PID::LibraryAuthoringBuilder::Create3DSymbol | ( | const char * | instanceId, |
const char * | partId, | ||
const char * | partName, | ||
const char * | numberName | ||
) |
Creates a new 3D symbol.
instanceId | instanceid |
partId | partid |
partName | partname |
numberName | numbername |
NXOpen::DiagrammingLibraryAuthor::LineTypeBuilder* NXOpen::PID::LibraryAuthoringBuilder::CreateLineType | ( | ) |
Creates a new line type.
void NXOpen::PID::LibraryAuthoringBuilder::Delete3DSymbol | ( | NXOpen::DiagrammingLibraryAuthor::AttributeHolder * | symbolObject | ) |
Deletes the 3D symbol which is new created
Created in NX11.0.1.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
symbolObject | the symbol object, only accept the object which is got by NXOpen::PID::LibraryAuthoringBuilder::Create3DSymbol |
void NXOpen::PID::LibraryAuthoringBuilder::GetSymbolObjects | ( | std::vector< NXOpen::DiagrammingLibraryAuthor::AttributeHolder * > & | symbolObjects | ) |
Gets the symbol objects which have user attributes of the symbol.
Created in NX11.0.1.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
symbolObjects | the symbol objects |
NXOpen::DiagrammingLibraryAuthor::LineTypeBuilderList* NXOpen::PID::LibraryAuthoringBuilder::LineTypes | ( | ) |
Returns the list of line types.
Created in NX11.0.1.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
NXOpen::DiagrammingLibraryAuthor::PipeStockBuilder* NXOpen::PID::LibraryAuthoringBuilder::PipeStock | ( | ) |
Returns the pipe stock sub-builder.
Created in NX11.0.1.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
void NXOpen::PID::LibraryAuthoringBuilder::SelectFolder | ( | const NXString & | classId, |
const NXString & | symbolId | ||
) |
Selects the all symbols in the folder by the 2D symbol ID
Created in NX11.0.1.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
classId | classid |
symbolId | symbolid |
void NXOpen::PID::LibraryAuthoringBuilder::SelectFolder | ( | const char * | classId, |
const char * | symbolId | ||
) |
Selects the all symbols in the folder by the 2D symbol ID
Created in NX11.0.1.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
classId | classid |
symbolId | symbolid |
void NXOpen::PID::LibraryAuthoringBuilder::SelectSymbol | ( | const NXString & | symbolId | ) |
Selects one 2D symbol or 3D symbol by the symbol ID
Created in NX11.0.1.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
symbolId | symbolid |
void NXOpen::PID::LibraryAuthoringBuilder::SelectSymbol | ( | const char * | symbolId | ) |
Selects one 2D symbol or 3D symbol by the symbol ID
Created in NX11.0.1.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
symbolId | symbolid |
NXOpen::DiagrammingLibraryAuthor::Symbol2DBuilder* NXOpen::PID::LibraryAuthoringBuilder::Symbol2D | ( | ) |
Returns the symbol 2D sub-builder.
Created in NX11.0.1.
License requirements : nx_pid_design_author ("NX P and ID Design Author")
NXOpen::DiagrammingLibraryAuthor::Symbol3DBuilder* NXOpen::PID::LibraryAuthoringBuilder::Symbol3D | ( | ) |
Returns the symbol 3D sub-builder.
Created in NX11.0.1.
License requirements : nx_pid_design_author ("NX P and ID Design Author")