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

Represents a NXOpen::ASCImporter . More...

Inheritance diagram for NXOpen::ASCImporter:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

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. More...
 
NXString OutputFile ()
 Returns the output file - name of a file which is being created
Created in NX7.5.0. More...
 
NXOpen::ASCImporter::Units PartUnitsEnum ()
 Returns the part units enum
Created in NX7.5.0. More...
 
void SetInputFile (const NXString &filename)
 Sets the input file - name of a file which is being imported
Created in NX7.5.0. More...
 
void SetInputFile (const char *filename)
 Sets the input file - name of a file which is being imported
Created in NX7.5.0. More...
 
void SetOutputFile (const NXString &filename)
 Sets the output file - name of a file which is being created
Created in NX7.5.0. More...
 
void SetOutputFile (const char *filename)
 Sets the output file - name of a file which is being created
Created in NX7.5.0. More...
 
void SetPartUnitsEnum (NXOpen::ASCImporter::Units partUnitsEnum)
 Sets the part units enum
Created in NX7.5.0. More...
 
void SetSheetGeometryToSketch (bool createSketchInSheet)
 Sets the toggle of creating sketch in sheet
Created in NX8.5.0. More...
 
void SetViewGeometryToSketch (bool createSketchInViews)
 Sets the toggle of creating sketch in view
Created in NX8.5.0. More...
 
bool SheetGeometryToSketch ()
 Returns the toggle of creating sketch in sheet
Created in NX8.5.0. More...
 
bool ViewGeometryToSketch ()
 Returns the toggle of creating sketch in view
Created in NX8.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 NXOpen::ASCImporter .

This class is used to import .ASC and .DWG files
To create a new instance of this class, use NXOpen::DexManager::CreateAscImporter
Default values.

Property Value

PartUnitsEnum

Millimeters


Created in NX7.5.0.

Member Enumeration Documentation

The Part Units selection Enum.

Enumerator
UnitsMillimeters 

Millimeters Selection.

UnitsInches 

Inches Selection.

Member Function Documentation

NXString NXOpen::ASCImporter::InputFile ( )

Returns the input file - name of a file which is being imported
Created in NX7.5.0.



License requirements : nx_layout ("NX Layout")

NXString NXOpen::ASCImporter::OutputFile ( )

Returns the output file - name of a file which is being created
Created in NX7.5.0.



License requirements : nx_layout ("NX Layout")

NXOpen::ASCImporter::Units NXOpen::ASCImporter::PartUnitsEnum ( )

Returns the part units enum
Created in NX7.5.0.



License requirements : nx_layout ("NX Layout")

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_layout ("NX Layout")

Parameters
filenamefilename
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_layout ("NX Layout")

Parameters
filenamefilename
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_layout ("NX Layout")

Parameters
filenamefilename
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_layout ("NX Layout")

Parameters
filenamefilename
void NXOpen::ASCImporter::SetPartUnitsEnum ( NXOpen::ASCImporter::Units  partUnitsEnum)

Sets the part units enum
Created in NX7.5.0.



License requirements : nx_layout ("NX Layout")

Parameters
partUnitsEnumpartunitsenum
void NXOpen::ASCImporter::SetSheetGeometryToSketch ( bool  createSketchInSheet)

Sets the toggle of creating sketch in sheet
Created in NX8.5.0.



License requirements : nx_layout ("NX Layout")

Parameters
createSketchInSheetcreatesketchinsheet
void NXOpen::ASCImporter::SetViewGeometryToSketch ( bool  createSketchInViews)

Sets the toggle of creating sketch in view
Created in NX8.5.0.



License requirements : nx_layout ("NX Layout")

Parameters
createSketchInViewscreatesketchinviews
bool NXOpen::ASCImporter::SheetGeometryToSketch ( )

Returns the toggle of creating sketch in sheet
Created in NX8.5.0.



License requirements : nx_layout ("NX Layout")

bool NXOpen::ASCImporter::ViewGeometryToSketch ( )

Returns the toggle of creating sketch in view
Created in NX8.5.0.



License requirements : nx_layout ("NX Layout")


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