NX Open C++ Reference Guide
|
Represents a ASCImporter . More...
Public Types | |
enum | Units { UnitsMillimeters, UnitsInches } |
The Part Units selection Enum. More... | |
Public Member Functions | |
NXString | InputFile () |
Returns the input file - name of a file which is being imported Created in NX7.5.0. | |
NXString | OutputFile () |
Returns the output file - name of a file which is being created Created in NX7.5.0. | |
NXOpen::ASCImporter::Units | PartUnitsEnum () |
Returns the part units enum Created in NX7.5.0. | |
void | SetInputFile (const NXString &filename) |
Sets the input file - name of a file which is being imported Created in NX7.5.0. | |
void | SetInputFile (const char *filename) |
Sets the input file - name of a file which is being imported Created in NX7.5.0. | |
void | SetOutputFile (const NXString &filename) |
Sets the output file - name of a file which is being created Created in NX7.5.0. | |
void | SetOutputFile (const char *filename) |
Sets the output file - name of a file which is being created Created in NX7.5.0. | |
void | SetPartUnitsEnum (NXOpen::ASCImporter::Units partUnitsEnum) |
Sets the part units enum Created in NX7.5.0. | |
void | SetSheetGeometryToSketch (bool createSketchInSheet) |
Sets the toggle of creating sketch in sheet Created in NX8.5.0. | |
void | SetViewGeometryToSketch (bool createSketchInViews) |
Sets the toggle of creating sketch in view Created in NX8.5.0. | |
bool | SheetGeometryToSketch () |
Returns the toggle of creating sketch in sheet Created in NX8.5.0. | |
bool | ViewGeometryToSketch () |
Returns the toggle of creating sketch in view Created in NX8.5.0. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a ASCImporter .
This class is used to import .ASC and .DWG files
To create a new instance of this class, use DexManager::CreateAscImporter
Default values.
Property | Value |
---|---|
PartUnitsEnum |
Millimeters |
Created in NX7.5.0.
NXString NXOpen::ASCImporter::InputFile | ( | ) |
Returns the input file - name of a file which is being imported
Created in NX7.5.0.
License requirements : nx_drafting_plus ("DraftingPlus")
NXString NXOpen::ASCImporter::OutputFile | ( | ) |
Returns the output file - name of a file which is being created
Created in NX7.5.0.
License requirements : nx_drafting_plus ("DraftingPlus")
NXOpen::ASCImporter::Units NXOpen::ASCImporter::PartUnitsEnum | ( | ) |
Returns the part units enum
Created in NX7.5.0.
License requirements : nx_drafting_plus ("DraftingPlus")
void NXOpen::ASCImporter::SetInputFile | ( | const NXString & | filename | ) |
Sets the input file - name of a file which is being imported
Created in NX7.5.0.
License requirements : nx_drafting_plus ("DraftingPlus")
filename | filename |
void NXOpen::ASCImporter::SetInputFile | ( | const char * | filename | ) |
Sets the input file - name of a file which is being imported
Created in NX7.5.0.
License requirements : nx_drafting_plus ("DraftingPlus")
filename | filename |
void NXOpen::ASCImporter::SetOutputFile | ( | const NXString & | filename | ) |
Sets the output file - name of a file which is being created
Created in NX7.5.0.
License requirements : nx_drafting_plus ("DraftingPlus")
filename | filename |
void NXOpen::ASCImporter::SetOutputFile | ( | const char * | filename | ) |
Sets the output file - name of a file which is being created
Created in NX7.5.0.
License requirements : nx_drafting_plus ("DraftingPlus")
filename | filename |
void NXOpen::ASCImporter::SetPartUnitsEnum | ( | NXOpen::ASCImporter::Units | partUnitsEnum | ) |
Sets the part units enum
Created in NX7.5.0.
License requirements : nx_drafting_plus ("DraftingPlus")
partUnitsEnum | partunitsenum |
void NXOpen::ASCImporter::SetSheetGeometryToSketch | ( | bool | createSketchInSheet | ) |
Sets the toggle of creating sketch in sheet
Created in NX8.5.0.
License requirements : nx_drafting_plus ("DraftingPlus")
createSketchInSheet | createsketchinsheet |
void NXOpen::ASCImporter::SetViewGeometryToSketch | ( | bool | createSketchInViews | ) |
Sets the toggle of creating sketch in view
Created in NX8.5.0.
License requirements : nx_drafting_plus ("DraftingPlus")
createSketchInViews | createsketchinviews |
bool NXOpen::ASCImporter::SheetGeometryToSketch | ( | ) |
Returns the toggle of creating sketch in sheet
Created in NX8.5.0.
License requirements : nx_drafting_plus ("DraftingPlus")
bool NXOpen::ASCImporter::ViewGeometryToSketch | ( | ) |
Returns the toggle of creating sketch in view
Created in NX8.5.0.
License requirements : nx_drafting_plus ("DraftingPlus")