NXOpen C++ Reference Guide
|
Represents a Drawings::ConvertDraftingContentsBuilder . More...
Public Types | |
enum | SelectConversionEntityType { SelectConversionEntityTypeDrawing, SelectConversionEntityTypeSheet, SelectConversionEntityTypeView, SelectConversionEntityTypeAnnotation } |
enum is used to list out different entity that can be use for conversion More... | |
Public Member Functions | |
NXString | ConfigurationFile () |
Returns the configuration file Created in NX11.0.0. More... | |
bool | OpenConvertedPmiDestinationPart () |
Returns the option to open converted pmi destination part Created in NX12.0.0. More... | |
NXOpen::SelectViewList * | SelectDraftingSheet () |
Returns the select drafting sheet block. More... | |
NXOpen::Drawings::SelectDraftingViewList * | SelectDraftingView () |
Returns the select drafting view block Created in NX11.0.0. More... | |
NXOpen::Drawings::ConvertDraftingContentsBuilder::SelectConversionEntityType | SelectionType () |
Returns the selection type Created in NX11.0.0. More... | |
NXOpen::SelectNXObjectList * | SelectObjectsToConvert () |
Returns the select objects to convert Created in NX11.0.0. More... | |
void | SetConfigurationFile (const NXString &filename) |
Sets the configuration file Created in NX11.0.0. More... | |
void | SetConfigurationFile (const char *filename) |
Sets the configuration file Created in NX11.0.0. More... | |
void | SetContextAssembly (const NXString &contextAssembly) |
Context assembly part file path Created in NX11.0.0. More... | |
void | SetContextAssembly (const char *contextAssembly) |
Context assembly part file path Created in NX11.0.0. More... | |
void | SetOpenConvertedPmiDestinationPart (bool openConvertedPmiDestinationPart) |
Sets the option to open converted pmi destination part Created in NX12.0.0. More... | |
void | SetSelectionType (NXOpen::Drawings::ConvertDraftingContentsBuilder::SelectConversionEntityType selectionType) |
Sets the selection type Created in NX11.0.0. More... | |
NXOpen::Drawings::SettingsBuilder * | SettingsBuilder () |
Returns the settings Created in NX11.0.0. More... | |
void | SetUseContextAssembly (bool useContextAssembly) |
Sets the use context assembly Created in NX11.0.0. More... | |
bool | UseContextAssembly () |
Returns the use context assembly Created in NX11.0.0. 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 Drawings::ConvertDraftingContentsBuilder .
This class queries and sets settings specific to drafting data which will get converted to PMI. This class will always return NULL_TAG on commit and GetCommittedObjects function is not going to return objects commited by this builder.
Refer to "Convert to PMI report" to know about the objects converted using this builder.
To create a new instance of this class, use NXOpen::Drawings::ConvertToPMIBuilderManager::CreateConvertDraftingContentsBuilder
Default values.
Property | Value |
---|---|
SelectionType |
Drawing |
UseContextAssembly |
0 |
Created in NX11.0.0.
NXString NXOpen::Drawings::ConvertDraftingContentsBuilder::ConfigurationFile | ( | ) |
Returns the configuration file
Created in NX11.0.0.
License requirements : None
bool NXOpen::Drawings::ConvertDraftingContentsBuilder::OpenConvertedPmiDestinationPart | ( | ) |
Returns the option to open converted pmi destination part
Created in NX12.0.0.
License requirements : None
NXOpen::SelectViewList* NXOpen::Drawings::ConvertDraftingContentsBuilder::SelectDraftingSheet | ( | ) |
Returns the select drafting sheet block.
Expect selection object of type DraftingSheet, validation is done at builder level
Created in NX11.0.0.
License requirements : None
NXOpen::Drawings::SelectDraftingViewList* NXOpen::Drawings::ConvertDraftingContentsBuilder::SelectDraftingView | ( | ) |
Returns the select drafting view block
Created in NX11.0.0.
License requirements : None
NXOpen::Drawings::ConvertDraftingContentsBuilder::SelectConversionEntityType NXOpen::Drawings::ConvertDraftingContentsBuilder::SelectionType | ( | ) |
Returns the selection type
Created in NX11.0.0.
License requirements : None
NXOpen::SelectNXObjectList* NXOpen::Drawings::ConvertDraftingContentsBuilder::SelectObjectsToConvert | ( | ) |
Returns the select objects to convert
Created in NX11.0.0.
License requirements : None
void NXOpen::Drawings::ConvertDraftingContentsBuilder::SetConfigurationFile | ( | const NXString & | filename | ) |
Sets the configuration file
Created in NX11.0.0.
License requirements : drafting ("DRAFTING")
filename | filename |
void NXOpen::Drawings::ConvertDraftingContentsBuilder::SetConfigurationFile | ( | const char * | filename | ) |
Sets the configuration file
Created in NX11.0.0.
License requirements : drafting ("DRAFTING")
filename | filename |
void NXOpen::Drawings::ConvertDraftingContentsBuilder::SetContextAssembly | ( | const NXString & | contextAssembly | ) |
Context assembly part file path
Created in NX11.0.0.
License requirements : drafting ("DRAFTING")
contextAssembly | contextassembly |
void NXOpen::Drawings::ConvertDraftingContentsBuilder::SetContextAssembly | ( | const char * | contextAssembly | ) |
Context assembly part file path
Created in NX11.0.0.
License requirements : drafting ("DRAFTING")
contextAssembly | contextassembly |
void NXOpen::Drawings::ConvertDraftingContentsBuilder::SetOpenConvertedPmiDestinationPart | ( | bool | openConvertedPmiDestinationPart | ) |
Sets the option to open converted pmi destination part
Created in NX12.0.0.
License requirements : drafting ("DRAFTING")
openConvertedPmiDestinationPart | openconvertedpmidestinationpart |
void NXOpen::Drawings::ConvertDraftingContentsBuilder::SetSelectionType | ( | NXOpen::Drawings::ConvertDraftingContentsBuilder::SelectConversionEntityType | selectionType | ) |
Sets the selection type
Created in NX11.0.0.
License requirements : drafting ("DRAFTING")
selectionType | selectiontype |
NXOpen::Drawings::SettingsBuilder* NXOpen::Drawings::ConvertDraftingContentsBuilder::SettingsBuilder | ( | ) |
Returns the settings
Created in NX11.0.0.
License requirements : None
void NXOpen::Drawings::ConvertDraftingContentsBuilder::SetUseContextAssembly | ( | bool | useContextAssembly | ) |
Sets the use context assembly
Created in NX11.0.0.
License requirements : drafting ("DRAFTING")
useContextAssembly | usecontextassembly |
bool NXOpen::Drawings::ConvertDraftingContentsBuilder::UseContextAssembly | ( | ) |
Returns the use context assembly
Created in NX11.0.0.
License requirements : None